From fdbdf65039bb88720d86dfed0667335015b55794 Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Tue, 11 Dec 2007 08:21:36 +0000 Subject: [PATCH] From Wouter: Fix one more fabs problem. git-svn-id: http://root.cern.ch/svn/root/trunk@21316 27541ba8-7e3a-0410-8455-c3a389f83636 --- roofit/src/RooNDKeysPdf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roofit/src/RooNDKeysPdf.cxx b/roofit/src/RooNDKeysPdf.cxx index eca11bafa15..777cfeaedf0 100644 --- a/roofit/src/RooNDKeysPdf.cxx +++ b/roofit/src/RooNDKeysPdf.cxx @@ -587,7 +587,7 @@ RooNDKeysPdf::loadWeightSet() const for (Int_t i=0; i<_nEventsM; i++) { _data.get(_idx[i]); if ( nWObs>0 ) { *weightObs = *values; } // update _weight - if ( fabs(_weight)>_minWeight ) { + if ( TMath::Abs(_weight)>_minWeight ) { _wMap[i] = _weight; } } -- GitLab