Commit ca1d13a8 authored by Vaios Papaspyros's avatar Vaios Papaspyros
Browse files

Initializing with the correct model in cboptimizer

parent 8ec66263
......@@ -162,7 +162,7 @@ namespace limbo {
else {
_model = model_t(StateFunction::dim_in, StateFunction::dim_out);
if (_nb_constraints > 0)
_constraint_model = model_t(StateFunction::dim_in, _nb_constraints);
_constraint_model = constraint_model_t(StateFunction::dim_in, _nb_constraints);
}
acqui_optimizer_t acqui_optimizer;
......
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