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

extend #if to include both CLONGDOUBLE related definitions #3810

Merged
merged 1 commit into from Nov 17, 2014

Conversation

jbmohler
Copy link
Contributor

This appears to me be an obvious correction to the logic of the #if which fixes an MSVC (2008 specific?) compiler pickiness. With-out this I get

c:\ext\matplotlib\src\numpy_cpp.h(185) : error C2766: explicit specialization; 'numpy::type_num_of<std::complex<double>>' has already been defined

The only thing that confuses me is what motivated the #if in the first place if that motivation didn't equally apply to the complex case.

pelson added a commit that referenced this pull request Nov 17, 2014
extend #if to include both CLONGDOUBLE related definitions
@pelson pelson merged commit a220e1f into matplotlib:master Nov 17, 2014
@pelson
Copy link
Member

pelson commented Nov 17, 2014

Thanks @jbmohler - I found the same issue a few days ago and was meaning to push a PR.

@jbmohler jbmohler deleted the extend_longdouble_conditional branch November 17, 2014 12:44
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.

None yet

2 participants