From de2d59c5c61024d361047a65f87ad4b5b8065e23 Mon Sep 17 00:00:00 2001 From: Pariterre Date: Mon, 4 Mar 2024 21:53:29 -0500 Subject: [PATCH] Fixed a matlab compilation issue --- binding/matlab/Matlab_Mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding/matlab/Matlab_Mesh.h b/binding/matlab/Matlab_Mesh.h index 7b9ccc9c4..d2fb971a9 100644 --- a/binding/matlab/Matlab_Mesh.h +++ b/binding/matlab/Matlab_Mesh.h @@ -51,7 +51,7 @@ void Matlab_Mesh( int, mxArray *plhs[], } else { // Si on a demande un segment precis std::vector Mesh_tp(model->meshPoints(Q, - static_cast(idx))); + static_cast(idx))); // Create a matrix for the return argument plhs[0] = mxCreateDoubleMatrix(3, Mesh_tp.size(), mxREAL);