Unverified Commit 3faee5b6 authored by Carlos Mastalli's avatar Carlos Mastalli Committed by GitHub
Browse files

Merge pull request #1030 from wxmerkt/topic/fix-scalar-type

[IntegratedActionModelAbstractTpl] Template fix
parents a66dbbf3 2d2c6977
Pipeline #17279 passed with stage
in 146 minutes and 34 seconds
......@@ -40,7 +40,7 @@ IntegratedActionModelAbstractTpl<Scalar>::IntegratedActionModelAbstractTpl(
boost::shared_ptr<DifferentialActionModelAbstract> model, const Scalar time_step, const bool with_cost_residual)
: Base(model->get_state(), model->get_nu(), model->get_nr()),
differential_(model),
control_(new ControlParametrizationModelPolyZero(model->get_nu())),
control_(new ControlParametrizationModelPolyZeroTpl<Scalar>(model->get_nu())),
time_step_(time_step),
with_cost_residual_(with_cost_residual) {
init();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment