From 6956ee3164f7424c04c88c374561d641f5e46067 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Mon, 25 Nov 2013 16:00:35 +0000 Subject: [PATCH] getting back to basics in zooming, using a flag to check for angle error git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@247 af1100a4-978c-4157-bff7-07162d2ba061 --- slsDetectorGui/src/qDrawPlot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index fe3635f86..30537a769 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -802,7 +802,7 @@ int qDrawPlot::GetData(detectorData *data,int fIndex){ if(isinf(data->values[i])){ //cout << "*** ERROR: value at " << i << " infinity" << endl; k++; - data->values[i] = 0; + data->values[i] = -1; } } cout << "*** ERROR: value at " << k << " places have infinity values!" << endl;