Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask for > 5 digits of precision when solving linear system #309

Merged
merged 5 commits into from
Aug 7, 2021
Merged

Conversation

ranjanan
Copy link
Member

@ranjanan ranjanan commented Aug 6, 2021

Make the assert statement test relative tolerance instead of an arbitrary bound on the L2 resnorm

@vlandau
Copy link
Member

vlandau commented Aug 6, 2021

@ranjanan this causes Omniscape to error out on tests with CHOLMOD if I recall correctly. Or is the division by the other matrix norm handling potential issues from before? (I guess that's the "relative" tolerance?)

@ranjanan
Copy link
Member Author

ranjanan commented Aug 6, 2021

I looked at one of the problems that was causing an error at Circuitscape/Omniscape.jl#100 . I examined the solution that was failing and it looked fine. So I decided to tweak the error metric to ask for relative tolerance.

@ranjanan
Copy link
Member Author

ranjanan commented Aug 6, 2021

Fixes Circuitscape/Omniscape.jl#99, and hopefully fixes Circuitscape/Omniscape.jl#100 too

@ranjanan ranjanan merged commit eb94f48 into master Aug 7, 2021
@ranjanan ranjanan deleted the RA/rtol branch August 7, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants