Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chonlei committed Nov 7, 2023
1 parent fd89506 commit 84377fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pints/toy/_parabola.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, c=[0, 0]):
self._n = len(self._c)

def __call__(self, x):
y = pints.vector(x).reshape(self._n_parameters)
y = pints.vector(x).reshape(self._n)
return np.sum((self._c - y)**2)

def evaluateS1(self, x):
Expand Down

0 comments on commit 84377fa

Please sign in to comment.