Permalink
Browse files

Merge pull request #21 from cgohlke/patch-2

Fix build failure with msvc
  • Loading branch information...
2 parents 7aca20e + f69d4ba commit d4889acb0def51c5d60f13ae076fe677066ecd02 @luispedro committed Oct 10, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 mahotas/numpypp/numpy.hpp
@@ -29,6 +29,10 @@ template <>
inline
npy_intp dtype_code<int>() { return NPY_INT; }
+template <>
+inline
+npy_intp dtype_code<long>() { return NPY_LONG; }
+
template <>
inline
npy_intp dtype_code<double>() { return NPY_DOUBLE; }

0 comments on commit d4889ac

Please sign in to comment.