浏览代码

Merge branch 'master' of https://github.com/Victor-Savu/libigl

Former-commit-id: 91b98f234a37460114121096f63957d2ed69fd21
Alec Jacobson 11 年之前
父节点
当前提交
e9e4f3748b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/igl/svd3x3/svd3x3_avx.cpp

+ 2 - 0
include/igl/svd3x3/svd3x3_avx.cpp

@@ -99,8 +99,10 @@ IGL_INLINE void igl::svd3x3_avx(
 }
 #pragma runtime_checks( "u", restore )
 
+#ifdef IGL_STATIC_LIBRARY
 // forced instantiation
 template void igl::svd3x3_avx(const Eigen::Matrix<float, 3*8, 3>& A, Eigen::Matrix<float, 3*8, 3> &U, Eigen::Matrix<float, 3*8, 1> &S, Eigen::Matrix<float, 3*8, 3>&V);
 // doesn't even make sense with double because the wunder-SVD code is only single precision anyway...
 template void igl::svd3x3_avx<float>(Eigen::Matrix<float, 24, 3, 0, 24, 3> const&, Eigen::Matrix<float, 24, 3, 0, 24, 3>&, Eigen::Matrix<float, 24, 1, 0, 24, 1>&, Eigen::Matrix<float, 24, 3, 0, 24, 3>&);
 #endif
+#endif