Skip to content

Commit

Permalink
Fix bug in integration solver
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhansk committed Jul 10, 2024
1 parent 09eea48 commit 6f222bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygradflow/integration/integration_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def create_filter(self, z, rho):
fixed_indices[ambiguous_lb] = ddx[ambiguous_lb] < 0

ambiguous_ub = np.logical_and(at_ub, dx_zero)
fixed_indices[ambiguous_ub] = ddx[ambiguous_lb] > 0
fixed_indices[ambiguous_ub] = ddx[ambiguous_ub] > 0

return np.logical_not(fixed_indices)

Expand Down

0 comments on commit 6f222bb

Please sign in to comment.