From 4b076241879569ce5f1ed1490467da59422c5b4e Mon Sep 17 00:00:00 2001 From: willdunklin Date: Mon, 27 Jun 2022 11:00:49 -0400 Subject: [PATCH] Modify vertex dimensionality to be consistent --- vital/types/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vital/types/mesh.h b/vital/types/mesh.h index 304b1145a8..2da841611e 100644 --- a/vital/types/mesh.h +++ b/vital/types/mesh.h @@ -97,7 +97,7 @@ class mesh_vertex_array : public mesh_vertex_array_base /// /// \note Eigen::Matrix == vector_2d /// and Eigen::Matrix == vector_3d - typedef Eigen::Matrix< double, 3, 1 > vert_t; + typedef Eigen::Matrix< double, d, 1 > vert_t; /// vector of d-dimensional points std::vector< vert_t > verts_;