Closed Jhsmit closed 6 years ago
Thanks for reporting this issue. It turned out to be caused by the fact that the derivative wrt to b is just int 1, which was then incorrectly changed to a shape 11 vector containing ones instead of an (11, 11) matrix. Fixed it, thanks for reporting.
testarr.txt I have the following code to fit a 2D gaussian:
Which gives this error:
When I remove the constant
b
from the model, it does run.However, I'd very much like to have this
b
there. I'm aware I have a surplus of brackets, but for brackets goes, the more the better.I'm using symfit 0.4.0 and numpy 1.13.1, which is the latest version distributed by conda. With numpy 1.14.2 the bug persists.