diff --git a/cmake/recipes/external/eigen.cmake b/cmake/recipes/external/eigen.cmake index 12d646059..afd265e31 100644 --- a/cmake/recipes/external/eigen.cmake +++ b/cmake/recipes/external/eigen.cmake @@ -8,7 +8,7 @@ include(FetchContent) FetchContent_Declare( eigen GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git - GIT_TAG tags/3.3.7 + GIT_TAG tags/3.4.0 GIT_SHALLOW TRUE ) FetchContent_GetProperties(eigen) diff --git a/include/igl/average_from_edges_onto_vertices.cpp b/include/igl/average_from_edges_onto_vertices.cpp index 12c54c58b..702299681 100644 --- a/include/igl/average_from_edges_onto_vertices.cpp +++ b/include/igl/average_from_edges_onto_vertices.cpp @@ -62,7 +62,8 @@ igl::average_from_edges_onto_vertices( #ifdef IGL_STATIC_LIBRARY // Explicit template instantiation -template void igl::average_from_edges_onto_vertices, Eigen::Matrix, Eigen::Matrix, Eigen::PartialReduxExpr, Eigen::internal::member_norm, 1>, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase, Eigen::internal::member_norm, 1> > const&, Eigen::PlainObjectBase >&); +// generated by autoexplicit.sh +template void igl::average_from_edges_onto_vertices, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&); template void igl::average_from_edges_onto_vertices, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&); template void igl::average_from_edges_onto_vertices, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, Eigen::PlainObjectBase >&); #endif diff --git a/tutorial/721_VectorFieldSmoothing/main.cpp b/tutorial/721_VectorFieldSmoothing/main.cpp index d0f7823cd..db83bab65 100755 --- a/tutorial/721_VectorFieldSmoothing/main.cpp +++ b/tutorial/721_VectorFieldSmoothing/main.cpp @@ -87,7 +87,7 @@ int main(int argc, char * argv[]) + z(i+edgeMps.rows())*perpVec.row(i); } igl::average_from_edges_onto_vertices - (F, E, oE, vecs.rowwise().norm(), colors); + (F, E, oE, vecs.rowwise().norm().eval(), colors); }; Eigen::MatrixXd noisyvecs, noisycolors, smoothedvecs, smoothedcolors, rawvecs, rawcolors;