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

Automatic Int precision and stencil regeneration change #104

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

CharlesKrop
Copy link

Added a feature to automatically determine the precision of an integer based on the global precision of the stencil. retained functionality of i32/i64, but now raises an error if an integer of the incorrect precision is passed to the stencil. In short: Int/i32/i64 should now behave identically to Float/f32/f64.

Changed the default value of rebuild from True to False for _get_factories. This alleviates a problem of unmodified stencils being recompiled when they are called from a subclass.

…uld remove the need for i32/i64 declaration (although their functionality is still retained) and replace both with the regular Int type
@CharlesKrop CharlesKrop marked this pull request as draft January 31, 2025 18:52
@FlorianDeconinck FlorianDeconinck self-requested a review January 31, 2025 18:52
@CharlesKrop CharlesKrop marked this pull request as ready for review January 31, 2025 18:54
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