Skip to content
Snippets Groups Projects
Commit fbfd2d7e authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: add field that contains the total number of equations, #728

parent 5146a430
Branches
Tags
No related merge requests found
...@@ -740,7 +740,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool no_log, b ...@@ -740,7 +740,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool no_log, b
if (block && !byte_code) if (block && !byte_code)
mOutputFile << "addpath " << basename << ";" << endl; mOutputFile << "addpath " << basename << ";" << endl;
mOutputFile << "M_.orig_eq_nbr = " << orig_eqn_nbr << ";" << endl; mOutputFile << "M_.orig_eq_nbr = " << orig_eqn_nbr << ";" << endl
<< "M_.eq_nbr = " << dynamic_model.equation_number() << ";" << endl;
if (dynamic_model.equation_number() > 0) if (dynamic_model.equation_number() > 0)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment