Commit 41b9419d authored by theos's avatar theos

Remove side-effect on x0 in QuasiNewtonMinimizer.

parent 579997da
...@@ -56,7 +56,7 @@ class QuasiNewtonMinimizer(object, Loggable): ...@@ -56,7 +56,7 @@ class QuasiNewtonMinimizer(object, Loggable):
""" """
x = x0 x = x0.copy()
self.line_searcher.set_functions(f=f, fprime=fprime, f_args=f_args) self.line_searcher.set_functions(f=f, fprime=fprime, f_args=f_args)
convergence = 0 convergence = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment