Commit c74ee8e6 authored by Ferhat Mihoubi's avatar Ferhat Mihoubi
Browse files

- Store the incidence matrix containing reordered equations and variable in block_structure

parent 7ea9d28a
......@@ -2333,7 +2333,7 @@ DynamicModel::writeOutput(ostream &output, const string &basename, bool block_de
int lag = getLagByDerivID(deriv_id);
int eqr = inv_equation_reordered[eq];
int varr = inv_variable_reordered[var];
lag_row_incidence[make_pair(lag, make_pair(eqr, varr))] = 1;
lag_row_incidence[make_pair(lag, make_pair(eq, var))] = 1;
}
}
int prev_lag = -1000000;
......
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