Skip to content

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Jan 23, 2018

When I committed #746, in which I made double declarations of user functions to be a warning, I changed some declarations to remove duplicates in stdosl.h, not realizing that there was some overloading resolution logic that was order dependent (as was so astutely pointed out and attempted to be solved by Marsupial in #837) and that I was inadvertently depending on the redundant declaration to get it right.

Ugh, so I broke it, then Marsupial's patch fixed it. Then Marsupial discovered some problems (not this!) with his patch and we reverted it, thus re-introducing the bug.

I'm reviewing another attempt to fix the order dependency problem once and for all (#844), but in the mean time, this fix to stdosl.h fixes the pow and fmod cases that are broken at the moment.

@fpsunflower
Copy link
Contributor

LGTM

@lgritz lgritz merged commit ca0c6df into AcademySoftwareFoundation:master Jan 23, 2018
@lgritz lgritz deleted the lg-overload branch January 23, 2018 23:45
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.

2 participants