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

Size in new[] explicitly casted to size_t #1775

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

philip-paul-mueller
Copy link
Collaborator

In PR#1748 we tried to enable the Stockham FFT tests.
Their problem is that the size of an array is given as b**e which the code generator translates to

new double [dace::math::pow(b, e)

currently, pow will generate a float, which leads to a compilation error.
In PR#1748, the solution was to specialize pow to handle this case.
But it was concluded that this was the wrong approach.
This is now the second attempt.

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