Use 1-based indexing in M_.nonzero_hessian_eqs
parent
141cff0761
commit
97fa005b33
|
@ -1875,7 +1875,7 @@ DynamicModel::printNonZeroHessianEquations(ostream &output) const
|
|||
{
|
||||
if (it != nonzero_hessian_eqs.begin())
|
||||
output << " ";
|
||||
output << *it;
|
||||
output << *it + 1;
|
||||
}
|
||||
if (nonzero_hessian_eqs.size() != 1)
|
||||
output << "]";
|
||||
|
|
Loading…
Reference in New Issue