From 6adf757ec09436122a48e67f9819771f885963f9 Mon Sep 17 00:00:00 2001 From: nemu Date: Fri, 29 Jan 2010 08:40:50 +0000 Subject: [PATCH] fix of MuSR-119 (non-musr ascii export first point missing) --- src/classes/PMusrCanvas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classes/PMusrCanvas.cpp b/src/classes/PMusrCanvas.cpp index 14e1c065..f9e0241b 100644 --- a/src/classes/PMusrCanvas.cpp +++ b/src/classes/PMusrCanvas.cpp @@ -4028,7 +4028,7 @@ void PMusrCanvas::SaveDataAscii() dump.theory.clear(); // go through all data bins - for (Int_t j=1; jGetN(); j++) { + for (Int_t j=0; jGetN(); j++) { // get x and y value fNonMusrData[i].diff->GetPoint(j,xval,yval); // check if time is in the current range @@ -4077,7 +4077,7 @@ void PMusrCanvas::SaveDataAscii() dump.theory.clear(); // go through all data bins - for (Int_t j=1; jGetN(); j++) { + for (Int_t j=0; jGetN(); j++) { // get x and y value fNonMusrData[i].data->GetPoint(j,xval,yval); // check if time is in the current range @@ -4089,7 +4089,7 @@ void PMusrCanvas::SaveDataAscii() } // go through all theory bins - for (Int_t j=1; jGetN(); j++) { + for (Int_t j=0; jGetN(); j++) { // get x and y value fNonMusrData[i].theory->GetPoint(j,xval,yval); // check if time is in the current range