From 661647c7cf8ccbec21b406b8b02045ca186dc410 Mon Sep 17 00:00:00 2001 From: adrien-matta <a.matta@surrey.ac.uk> Date: Sun, 13 Dec 2015 16:52:03 +0000 Subject: [PATCH] * Fixing conversion to int instead of double in SSSD analysis config --- NPLib/SSSD/TSSSDPhysics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPLib/SSSD/TSSSDPhysics.cxx b/NPLib/SSSD/TSSSDPhysics.cxx index 4614deb32..c291f66bc 100644 --- a/NPLib/SSSD/TSSSDPhysics.cxx +++ b/NPLib/SSSD/TSSSDPhysics.cxx @@ -372,7 +372,7 @@ void TSSSDPhysics::ReadAnalysisConfig(){ else if (whatToDo=="PEDESTAL_THRESHOLD") { AnalysisConfigFile >> DataBuffer; - m_Pedestal_Threshold = atoi(DataBuffer.c_str() ); + m_Pedestal_Threshold = atof(DataBuffer.c_str() ); cout << "PEDESTAL THRESHOLD " << m_Pedestal_Threshold << endl; } -- GitLab