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

make sure model evaluation is done in double precision #196

Merged
merged 2 commits into from
Dec 21, 2024

Conversation

zonca
Copy link
Member

@zonca zonca commented Nov 15, 2024

Often the input maps are in float32, in order to save memory is a good idea to keep them in memory also at float32.

However, as soon as we want to evaluate the model and then bandpass integrate, we want to make sure they are executed in double precision so we avoid accumulating rounding errors.

@zonca zonca merged commit f6d6424 into galsci:main Dec 21, 2024
2 of 3 checks passed
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.

1 participant