Skip to content

Commit

Permalink
MAINT: reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 7, 2024
1 parent 2889089 commit cba1f92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions tests/optimizer/test_minuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def __call__(self, parameters: Mapping[str, ParameterValue]) -> float:
return self.__polynomial(_x, _y)

def gradient(
self,
parameters: Mapping[str, ParameterValue],
self, parameters: Mapping[str, ParameterValue]
) -> dict[str, ParameterValue]:
return NotImplemented

Expand Down
6 changes: 2 additions & 4 deletions tests/optimizer/test_scipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def __call__(self, parameters: Mapping[str, ParameterValue]) -> float:
return self.__polynomial(_x)

def gradient(
self,
parameters: Mapping[str, ParameterValue],
self, parameters: Mapping[str, ParameterValue]
) -> dict[str, ParameterValue]:
return NotImplemented

Expand All @@ -38,8 +37,7 @@ def __call__(self, parameters: Mapping[str, ParameterValue]) -> float:
return self.__polynomial(_x, _y)

def gradient(
self,
parameters: Mapping[str, ParameterValue],
self, parameters: Mapping[str, ParameterValue]
) -> dict[str, ParameterValue]:
return NotImplemented

Expand Down

0 comments on commit cba1f92

Please sign in to comment.