Skip to content

Commit

Permalink
[fix] Avoid useless numpy errors printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kastakin committed Oct 12, 2022
1 parent 0058097 commit 7d2a2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/optimizers/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def _compute(self):

def _newtonRaphson(self, point, c, cp, c_tot, fixed_c, with_solids=False):
# FIXME: FOR DEBUGGING PURPOSES
# np.seterr("print")
np.seterr(all="ignore")
iteration = 0

if not with_solids:
Expand Down

0 comments on commit 7d2a2af

Please sign in to comment.