Skip to content

Commit

Permalink
MEX: fix sim_method check for matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
FreyJo committed Aug 12, 2020
1 parent 5b0f4b7 commit c66462e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfaces/acados_matlab_octave/ocp_create.c
Expand Up @@ -461,7 +461,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
free(i_ptr);

// gnsf stuff
if (!strcmp(sim_method, "irk_gnsf"))
if (sim_method_enum == GNSF)
{
int gnsf_nx1, gnsf_nz1, gnsf_nuhat, gnsf_ny, gnsf_nout;
// nx1
Expand Down

0 comments on commit c66462e

Please sign in to comment.