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

approx fails for complex values #507

Merged
merged 1 commit into from
Dec 8, 2024
Merged

approx fails for complex values #507

merged 1 commit into from
Dec 8, 2024

Conversation

wlmb
Copy link
Contributor

@wlmb wlmb commented Dec 8, 2024

There was a misterious error according to which complex numbers like i and 5i were considered approximately equal. I corrected the error by putting parenthesis around the macro
PDL_IF_GENTYPE_REAL(, )
->
(PDL_IF_GENTYPE_REAL(, ) )
I guess something is wrong in the expansion of the macro, but haven't looked at it.

@coveralls
Copy link

Coverage Status

coverage: 84.386% (+0.003%) from 84.383%
when pulling 173e9d3 on wlmb:master
into 53d8fab on PDLPorters:master.

@mohawk2 mohawk2 merged commit bbcec34 into PDLPorters:master Dec 8, 2024
76 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.

3 participants