Skip to content

Commit e1f8f85

Browse files
authored
Merge pull request #650 from adewit/asymmparam-fix
Add missing cast to float in ModelTools.py
2 parents 6b5c251 + aab6cb1 commit e1f8f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ModelTools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def doNuisances(self):
458458
else:
459459
self.doVar("%s[%g,%g]" % (n, mean-4*float(sigmaL), mean+4*float(sigmaR)))
460460
self.out.var(n).setVal(mean)
461-
self.out.var(n).setError(0.5*(sigmaL+sigmaR))
461+
self.out.var(n).setError(0.5*(float(sigmaL)+float(sigmaR)))
462462

463463
sigmaStrL = sigmaL
464464
sigmaStrR = sigmaR

0 commit comments

Comments
 (0)