Skip to content

Commit

Permalink
fixed solver mask
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Nov 1, 2023
1 parent 448d370 commit 61a2511
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/neurostatslib/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def __init__(
solver_name: str,
solver_kwargs: Optional[dict] = None,
regularizer_strength: float = 1.0,
**kwargs
**kwargs,
):
super().__init__(solver_name, solver_kwargs=solver_kwargs)
self.regularizer_strength = regularizer_strength
Expand Down Expand Up @@ -444,10 +444,7 @@ def __init__(
solver_kwargs: Optional[dict] = None,
regularizer_strength: float = 1.0,
):
super().__init__(
solver_name,
solver_kwargs=solver_kwargs
)
super().__init__(solver_name, solver_kwargs=solver_kwargs)
self.regularizer_strength = regularizer_strength

def get_prox_operator(
Expand Down

0 comments on commit 61a2511

Please sign in to comment.