We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be124a5 commit 47e9a0cCopy full SHA for 47e9a0c
1 file changed
diffrax/_root_finder/_verychord.py
@@ -162,7 +162,7 @@ def terminate(
162
converged = _converged(factor, self.kappa)
163
terminate = at_least_two & (small | diverged | converged)
164
terminate_result = optx.RESULTS.where(
165
- jnp.invert(small) & (diverged | jnp.invert(converged)),
+ at_least_two & jnp.invert(small) & (diverged | jnp.invert(converged)),
166
optx.RESULTS.nonlinear_divergence,
167
optx.RESULTS.successful,
168
)
0 commit comments