Skip to content

Commit

Permalink
Update gdtw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dderiso authored Jan 30, 2024
1 parent 1457534 commit e61b84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdtw/gdtw.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def offer_suggestions(self):
if self.verbose > 0:
M_suggested = np.min((self.N*.55, self.M_max))

if self.M < M_suggested:
if np.abs(self.M - M_suggested) > 1e-10:
print(f"Suggestion: M is too small. Increasing M from {self.M} to ~{M_suggested} may offer better results.")

if self.M > (self.N):
Expand Down

0 comments on commit e61b84b

Please sign in to comment.