Skip to content

Commit

Permalink
Fixes #279
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvanderschelling committed Sep 30, 2024
1 parent 7d6ec81 commit 0823877
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def fun(x):

self.options['maxiter'] = iterations

if not hasattr(data_generator, 'dfdx'):
data_generator.dfdx = None

minimize(
fun=fun,
method=self.method,
Expand Down

0 comments on commit 0823877

Please sign in to comment.