You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are clipping based on value and not necessarily at 0 clipped = np.any(evals < value)
this is used as indicator in the functions to see whether clipping was necessary. So, that's incorrect if threshold (value) != 0.
(in examples, value was still tiny like 1e-15, IIRC, just to get positive definiteness. So there is a small imprecision in the results because of this bug)
Fixed by PR #6105 (merge commit 02388b3): clip_evals now correctly computes clipped = np.any(evals < value) using the value threshold argument instead of a hardcoded comparison to zero. Closing as fixed.
Activity
bashtage commentedon Jul 30, 2026
Fixed by PR #6105 (merge commit 02388b3): clip_evals now correctly computes clipped = np.any(evals < value) using the value threshold argument instead of a hardcoded comparison to zero. Closing as fixed.