Skip to content

Commit

Permalink
MEX templating: fix bug nsg
Browse files Browse the repository at this point in the history
  • Loading branch information
FreyJo committed Oct 8, 2020
1 parent 19d2d9c commit 22ec3ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions interfaces/acados_matlab_octave/set_up_acados_ocp_nlp_json.m
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@
if isfield(model, 'dim_nsbu')
ocp_json.dims.nsbu = model.dim_nsbu;
end

if isfield(model, 'dim_nsg')
ocp_json.dims.nsg = model.nsg;
ocp_json.dims.nsg = model.dim_nsg;
end
% missing in MEX
% ocp_json.dims.nphi;
Expand Down

0 comments on commit 22ec3ae

Please sign in to comment.