From d9e775fc92e6d052202c203ada5bb49ee7efaef6 Mon Sep 17 00:00:00 2001 From: Eckhard von Toerne <evt@physik.uni-bonn.de> Date: Tue, 21 Jun 2011 13:20:04 +0000 Subject: [PATCH] minor but much clearer fix of buildbot error on solaris git-svn-id: http://root.cern.ch/svn/root/trunk@39854 27541ba8-7e3a-0410-8455-c3a389f83636 --- tmva/src/OptimizeConfigParameters.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmva/src/OptimizeConfigParameters.cxx b/tmva/src/OptimizeConfigParameters.cxx index 9c6a6e0b0ab..68ea4db9c04 100644 --- a/tmva/src/OptimizeConfigParameters.cxx +++ b/tmva/src/OptimizeConfigParameters.cxx @@ -133,7 +133,7 @@ std::vector< int > TMVA::OptimizeConfigParameters::GetScanIndices( int val, std: std::vector < int > indices; for (UInt_t i=0; i< base.size(); i++){ indices.push_back(val % base[i] ); - val = int( floor( float(val / base[i]) ) ); + val = int( floor( float(val) / floor(base[i]) ) ); } return indices; } -- GitLab