aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-02-23 11:30:58 +0100
committerThomas White <taw@physics.org>2015-02-23 11:30:58 +0100
commitb5d7015dfdcad10e92c501c9ba36f9df9ba31567 (patch)
tree86cd3b6b52ad7a83af641487576d78e8d5e192d9
parent4a0cf7f11d93008ca0a5cbe211c3fe7526a01890 (diff)
geoptimiser: Fix colour scale of error maps
-rw-r--r--src/geoptimiser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geoptimiser.c b/src/geoptimiser.c
index 25610ff3..f60297b9 100644
--- a/src/geoptimiser.c
+++ b/src/geoptimiser.c
@@ -2136,6 +2136,7 @@ static int save_data_to_png(char * filename, struct detector* det,
} else {
im->data[i] = (float)data[i];
}
+ im->data[i] *= 10.0; /* render_panels sets this as max */
}
get_pixel_extents(im->det, &rect.min_x, &rect.min_y, &rect.max_x,