Skip to content

Commit

Permalink
Fix 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 30a91ff commit 173c913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/matlab/include/MexOptionsConversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ namespace binding{
std::string quadType, double quadAbsTol,
double quadRelTol, unsigned int quadMaxSub,
unsigned int quadMinSub,unsigned int quadPts,
bool contDeriv, double basisLB, double basisUB, bool basisNorm);
bool contDeriv, double basisLB, double basisUB,
bool basisNorm, double nugget);

void MapOptionsToMatlab(MapOptions opts, mexplus::OutputArguments &output, int start = 0);
#if defined(MPART_HAS_NLOPT)
Expand Down
1 change: 1 addition & 0 deletions bindings/matlab/src/MexOptionsConversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ void mpart::binding::MapOptionsToMatlab(MapOptions opts, mexplus::OutputArgument
output.set(i+9,opts.basisLB);
output.set(i+10,opts.basisUB);
output.set(i+11,opts.basisNorm);
output.set(i+12,opts.nugget);
}

#if defined(MPART_HAS_NLOPT)
Expand Down

0 comments on commit 173c913

Please sign in to comment.