Skip to content
Permalink
Browse files

fix big in generated sim (implicit integrators)

  • Loading branch information...
zanellia committed Sep 5, 2019
1 parent be16734 commit dd4b5e0bbdfa1b50bbfd84576e435ac1c6f469e6
Showing with 2 additions and 2 deletions.
  1. +2 −2 interfaces/acados_template/acados_template/c_templates/acados_sim_solver.in.c
@@ -164,8 +164,8 @@ int {{ ocp.model_name}}_acados_sim_create() {
// external functions
{% if ocp.solver_config.integrator_type == "IRK" %}
{{ ocp.model_name }}_sim_config->model_set({{ ocp.model_name }}_sim_in->model, "impl_ode_fun", sim_impl_dae_fun);
{{ ocp.model_name }}_config->model_set({{ ocp.model_name }}_sim_in->model, "impl_ode_fun_jac_x_xdot", sim_impl_dae_fun_jac_x_xdot_z);
{{ ocp.model_name }}_sim_config->model_set(in->model, "impl_ode_jac_x_xdot_u", sim_impl_dae_jac_x_xdot_u_z);
{{ ocp.model_name }}_sim_config->model_set({{ ocp.model_name }}_sim_in->model, "impl_ode_fun_jac_x_xdot", sim_impl_dae_fun_jac_x_xdot_z);
{{ ocp.model_name }}_sim_config->model_set({{ ocp.model_name }}_sim_in->model, "impl_ode_jac_x_xdot_u", sim_impl_dae_jac_x_xdot_u_z);

{% else %}
{% if ocp.solver_config.integrator_type == "ERK" %}

0 comments on commit dd4b5e0

Please sign in to comment.
You can’t perform that action at this time.