From 772de3dc856e8acd8946b00fe8c5f79a1601177e Mon Sep 17 00:00:00 2001 From: Matthew Parno Date: Fri, 20 Oct 2023 11:03:33 -0400 Subject: [PATCH] More fixes to matlab bindings. --- bindings/matlab/src/ParameterizedFunctionBase_mex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/matlab/src/ParameterizedFunctionBase_mex.cpp b/bindings/matlab/src/ParameterizedFunctionBase_mex.cpp index 6246a890..24d2049a 100644 --- a/bindings/matlab/src/ParameterizedFunctionBase_mex.cpp +++ b/bindings/matlab/src/ParameterizedFunctionBase_mex.cpp @@ -47,7 +47,7 @@ MEX_DEFINE(ParameterizedFunction_newMap) (int nlhs, mxArray* plhs[], input.get(4),input.get(5), input.get(6),input.get(7), input.get(8),input.get(9), - input.get(10),input.get(11),input.get(12),input.get(13)); + input.get(10),input.get(11),input.get(12),input.get(13),input.get(14)); output.set(0, Session::create(new ParameterizedFunctionMex(outputDim,mset.Fix(),opts))); } @@ -213,7 +213,7 @@ MEX_DEFINE(MapOptions_Serialize) (int nlhs, mxArray* plhs[], input.get(3),input.get(4), input.get(5),input.get(6), input.get(7),input.get(8), - input.get(9),input.get(10),input.get(11),input.get(12)); + input.get(9),input.get(10),input.get(11),input.get(12),input.get(13)); std::ofstream os (filename); cereal::BinaryOutputArchive oarchive(os); oarchive(opts);