Browse Source

[TEMPLATES]

Former-commit-id: f4d4b37c56e71828230f83dcff54911a87387a20
Alec Jacobson 7 years ago
parent
commit
f24d3dfa70
1 changed files with 6 additions and 0 deletions
  1. 6 0
      include/igl/combine.cpp

+ 6 - 0
include/igl/combine.cpp

@@ -55,3 +55,9 @@ IGL_INLINE void igl::combine(
     assert(kf == F.rows());
   }
 }
+
+#ifdef IGL_STATIC_LIBRARY
+// Explicit template instantiations
+template void igl::combine<Eigen::Matrix<double, -1, 3, 1, -1, 3>, Eigen::Matrix<int, -1, 3, 1, -1, 3>, Eigen::Matrix<double, -1, 3, 1, -1, 3>, Eigen::Matrix<int, -1, 3, 1, -1, 3> >(std::vector<Eigen::Matrix<double, -1, 3, 1, -1, 3>, std::allocator<Eigen::Matrix<double, -1, 3, 1, -1, 3> > > const&, std::vector<Eigen::Matrix<int, -1, 3, 1, -1, 3>, std::allocator<Eigen::Matrix<int, -1, 3, 1, -1, 3> > > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 1, -1, 3> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 1, -1, 3> >&);
+#endif
+