aboutsummaryrefslogtreecommitdiff
path: root/src/compare_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-05 20:02:22 +0200
committerThomas White <taw@bitwiz.org.uk>2010-06-05 20:02:22 +0200
commit8ead809d4fb09047e7c146d405dbc0e97103ec3c (patch)
treed05b218def2ebffb0460905ca8214ca53735d819 /src/compare_hkl.c
parent509f08dc3216bdb80e04e012e916c019dea31355 (diff)
pattern_sim: Implement phased gradients
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r--src/compare_hkl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index e7752078..f58c5046 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -100,13 +100,13 @@ int main(int argc, char *argv[])
cell = load_cell_from_pdb("molecule.pdb");
c1 = new_list_count();
- ref1 = read_reflections(afile, c1);
+ ref1 = read_reflections(afile, c1, NULL);
if ( ref1 == NULL ) {
ERROR("Couldn't open file '%s'\n", afile);
return 1;
}
c2 = new_list_count();
- ref2 = read_reflections(bfile, c2);
+ ref2 = read_reflections(bfile, c2, NULL);
if ( ref2 == NULL ) {
ERROR("Couldn't open file '%s'\n", bfile);
return 1;
@@ -146,7 +146,7 @@ int main(int argc, char *argv[])
STATUS("R2 = %5.4f %% (scale=%5.2f)\n", R*100.0, scale);
if ( outfile != NULL ) {
- write_reflections(outfile, NULL, out, 1, cell, 1);
+ write_reflections(outfile, NULL, out, NULL, 1, cell, 1);
}
return 0;