diff --git a/pygradflow/integration/integration_solver.py b/pygradflow/integration/integration_solver.py index 313a468..22572db 100644 --- a/pygradflow/integration/integration_solver.py +++ b/pygradflow/integration/integration_solver.py @@ -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)