-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where number type in stopping criterion was derived from `tol…
…` instead of real(eltype(H)) (#137) Previously ArnoldiMethod.jl would accidentially pick `eps(typeof(tol))` instead `eps(real(typeof(residual)))` So, with bigfloat and tol = 1e-30 you would actually just get eps(Float64) accuracy, whereas `tol = big(1e-30)` would have given the requested tolerance. This fixes that.
- Loading branch information
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters