Эх сурвалжийг харах

missing template, why did only AppVeyor catch this? and not Trevor?

Former-commit-id: a02693fb8455a758037e474b4cf11a89be26823b
Alec Jacobson 9 жил өмнө
parent
commit
9a62ff9d34

+ 5 - 0
include/igl/isdiag.cpp

@@ -25,3 +25,8 @@ IGL_INLINE bool igl::isdiag(const Eigen::SparseMatrix<Scalar> & A)
   return true;
 }
 
+
+#ifdef IGL_STATIC_LIBRARY
+// Explicit template specialization
+template bool igl::isdiag<double>(class Eigen::SparseMatrix<double,0,int> const &);
+#endif