Skip to content

Commit d3f4cb0

Browse files
committed
linting
1 parent 3277e1b commit d3f4cb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LoopStructural/interpolators/_constant_norm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ def solve_system(
9090
bool
9191
_description_
9292
"""
93+
success = True
9394
for i in range(20):
9495
if i > 0:
9596
self.add_constant_norm(w=(0.1 * i) ** 2 + 0.01)
9697
success = self.interpolator.solve_system(solver=solver, tol=tol, solver_kwargs=solver_kwargs)
97-
return True
98+
return success
9899

99100
class ConstantNormP1Interpolator(P1Interpolator, ConstantNormInterpolator):
100101
"""Constant norm interpolator using P1 base interpolator

0 commit comments

Comments
 (0)