Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a220e1f

Browse files
committed
Merge pull request matplotlib#3810 from jbmohler/extend_longdouble_conditional
extend #if to include both CLONGDOUBLE related definitions
2 parents 91db612 + d7b1e5f commit a220e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numpy_cpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ struct type_num_of<npy_clongdouble>
175175
value = NPY_CLONGDOUBLE
176176
};
177177
};
178-
#endif
179178
template <>
180179
struct type_num_of<std::complex<npy_longdouble> >
181180
{
182181
enum {
183182
value = NPY_CLONGDOUBLE
184183
};
185184
};
185+
#endif
186186
template <>
187187
struct type_num_of<PyObject *>
188188
{

0 commit comments

Comments
 (0)