From e6cc22eea8c30cd3917b17f97255725dabaf4d20 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 29 Feb 2020 20:58:59 +0100 Subject: Set non-NAN initial values --- src/crystfelimageview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/crystfelimageview.c') diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c index 34316c23..be14c159 100644 --- a/src/crystfelimageview.c +++ b/src/crystfelimageview.c @@ -367,9 +367,9 @@ GtkWidget *crystfel_image_view_new() iv = g_object_new(CRYSTFEL_TYPE_IMAGE_VIEW, NULL); /* All values initially meaningless */ - iv->detector_w = NAN; - iv->detector_h = NAN; - iv->zoom = NAN; + iv->detector_w = 1.0; + iv->detector_h = 1.0; + iv->zoom = 1.0; iv->filename = NULL; iv->event = NULL; -- cgit v1.2.3