aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio mariani <valerio.mariani@desy.de>2015-07-16 15:51:37 +0200
committerThomas White <taw@physics.org>2015-07-16 17:04:31 +0200
commite80578dd35e486666390baf7a557f1605c06f004 (patch)
treee381c19ededd4d3cef5f7538682e2763d028cb49
parent5589a9a186cc1d3dc09bb9895b6b629f9bf3b15c (diff)
Fix saving of geometry refinement error maps
-rw-r--r--src/geoptimiser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geoptimiser.c b/src/geoptimiser.c
index ed62767f..86088b0d 100644
--- a/src/geoptimiser.c
+++ b/src/geoptimiser.c
@@ -2805,7 +2805,7 @@ int optimize_geometry(char *infile, char *outfile, char *geometry_filename,
STATUS("Saving displacements after corrections.\n");
ret2 = save_data_to_png("error_map_after.png", det, max_fs, max_ss,
- dfv, displ_x);
+ dfv, displ_abs);
if ( ret2 !=0 ) {
ERROR("Error while writing data to file.\n");
free(conn_data);