pyminuit icon indicating copy to clipboard operation
pyminuit copied to clipboard

parameter names are limited to 10 characters

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments
trafficstars

What steps will reproduce the problem?
1. Create some function with a parameter whose name is greater than 10 
characters 
2. Try to run a minimization
example:
>>> import minuit
>>> m=minuit.Minuit(lambda xxxxxxxxxxx, y: (xxxxxxxxxxx-1)**2 + (y-2)**2, 
xxxxxxxxxxx=3, y=4)
>>> m.migrad()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: 'Parameter "xxxxxxxxxx" is missing from values.'


What version of the product are you using? On what operating system?
OS: Linux cospcmprpg3 2.6.32-279.9.1.el6.x86_64 #1 SMP Fri Aug 31 09:04:24 EDT 
2012 x86_64 x86_64 x86_64 GNU/Linux
pyminuit: 1.2.1
Minuit: 1.7.9
python: 2.7.5

Original issue reported on code.google.com by [email protected] on 8 Aug 2013 at 12:04

GoogleCodeExporter avatar Mar 15 '15 22:03 GoogleCodeExporter