Skip to content

Commit

Permalink
fix: remove prints while solving
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Oct 26, 2022
1 parent fbc7e4a commit 3aae8a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions LoopStructural/interpolators/_discrete_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ def _solve_cg(self, A, B, precon=None, **kwargs):
cgargs["callback"] = kwargs["callback"]
if precon is not None:
cgargs["M"] = precon(A)
print(cgargs)
return sla.cg(A, B, **cgargs)[0][: self.nx]

def _solve_pyamg(self, A, B, tol=1e-12, x0=None, verb=False, **kwargs):
Expand Down Expand Up @@ -746,7 +745,6 @@ def _solve(self, solver="cg", **kwargs):
"""
starttime = time()
logger.info("Solving interpolation for {}".format(self.propertyname))
self.c = np.zeros(self.support.n_nodes)
self.c[:] = np.nan
damp = True
Expand Down

0 comments on commit 3aae8a9

Please sign in to comment.