Skip to content

Commit

Permalink
Fix error due to self.method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Letizia97 committed Mar 5, 2024
1 parent 4d86dfd commit 89f0c9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fitbenchmarking/jacobian/scipy_jacobian.py
Expand Up @@ -22,7 +22,7 @@ class Scipy(Jacobian):
def __init__(self, problem):
super().__init__(problem)
self.jac_pattern = None
self.equiv_np_method = self.method
self.equiv_np_method = None

def eval(self, params, **kwargs):
"""
Expand All @@ -35,6 +35,8 @@ def eval(self, params, **kwargs):
:rtype: numpy array
"""

self.equiv_np_method = self.method

LOGGER = get_logger()

if self.method.endswith("_sparse"):
Expand Down

0 comments on commit 89f0c9f

Please sign in to comment.