in iminuitParsToStr, fixed python 3 related bug (dict.keys does not return a list)
This commit is contained in:
parent
d8b5441166
commit
422c30e9b6
|
@ -1072,7 +1072,7 @@ def iminuitClass(modelFunc):
|
|||
def iminuitParsToStr(iminuit,withErrs=True,withFixed=True):
|
||||
values = iminuit.values
|
||||
errs = iminuit.errors
|
||||
pnames = values.keys()
|
||||
pnames = list(values.keys())
|
||||
lenParNames = max( [len(p) for p in pnames] )
|
||||
fmt = "%%%ds" % lenParNames
|
||||
pnames.sort()
|
||||
|
|
Loading…
Reference in New Issue