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

Fix inference errors when not debugging #1617

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

charleskawczynski
Copy link
Member

This PR wraps some @debug calls in if get_debug(alg), so that we don't trigger compiler inference failures in code paths that we'll never reach.

This should fix a lot of the inference errors we're seeing, due to KrylovKit.jl.

The diff looks a bit odd, but I'm only indenting.

This should allow us to see what remaining inference failures that we have in ClimaAtmos.

@charleskawczynski charleskawczynski force-pushed the ck/fix_inference branch 4 times, most recently from cf77836 to b76b299 Compare February 20, 2024 23:15
Update src/MatrixFields/field_matrix_iterative_solver.jl

Co-authored-by: Dennis Yatunin <dyatun@gmail.com>

Fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants