Răsfoiți Sursa

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

Former-commit-id: a02693fb8455a758037e474b4cf11a89be26823b
Alec Jacobson 9 ani în urmă
părinte
comite
9a62ff9d34
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      include/igl/isdiag.cpp

+ 5 - 0
include/igl/isdiag.cpp

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