Skip to content

Commit

Permalink
More fixes to matlab bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Parno committed Oct 20, 2023
1 parent 173c913 commit 772de3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/matlab/src/ParameterizedFunctionBase_mex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ MEX_DEFINE(ParameterizedFunction_newMap) (int nlhs, mxArray* plhs[],
input.get<std::string>(4),input.get<double>(5),
input.get<double>(6),input.get<unsigned int>(7),
input.get<unsigned int>(8),input.get<unsigned int>(9),
input.get<bool>(10),input.get<double>(11),input.get<double>(12),input.get<bool>(13));
input.get<bool>(10),input.get<double>(11),input.get<double>(12),input.get<bool>(13),input.get<double>(14));

output.set(0, Session<ParameterizedFunctionMex>::create(new ParameterizedFunctionMex(outputDim,mset.Fix(),opts)));
}
Expand Down Expand Up @@ -213,7 +213,7 @@ MEX_DEFINE(MapOptions_Serialize) (int nlhs, mxArray* plhs[],
input.get<std::string>(3),input.get<double>(4),
input.get<double>(5),input.get<unsigned int>(6),
input.get<unsigned int>(7),input.get<unsigned int>(8),
input.get<bool>(9),input.get<double>(10),input.get<double>(11),input.get<bool>(12));
input.get<bool>(9),input.get<double>(10),input.get<double>(11),input.get<bool>(12),input.get<double>(13));
std::ofstream os (filename);
cereal::BinaryOutputArchive oarchive(os);
oarchive(opts);
Expand Down

0 comments on commit 772de3d

Please sign in to comment.