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

preprocessor: write M_.aux_vars(i).eq_nbr as int instead of char. closes #1028

parent 3d8c6e5b
No related branches found
No related tags found
No related merge requests found
...@@ -253,7 +253,7 @@ SymbolTable::writeOutput(ostream &output) const throw (NotYetFrozenException) ...@@ -253,7 +253,7 @@ SymbolTable::writeOutput(ostream &output) const throw (NotYetFrozenException)
<< "M_.aux_vars(" << i+1 << ").orig_lead_lag = " << aux_vars[i].get_orig_lead_lag() << ";" << endl; << "M_.aux_vars(" << i+1 << ").orig_lead_lag = " << aux_vars[i].get_orig_lead_lag() << ";" << endl;
break; break;
case avMultiplier: case avMultiplier:
output << "M_.aux_vars(" << i+1 << ").eq_nbr = '" << aux_vars[i].get_equation_number_for_multiplier() + 1 << "';" << endl; output << "M_.aux_vars(" << i+1 << ").eq_nbr = " << aux_vars[i].get_equation_number_for_multiplier() + 1 << ";" << endl;
break; break;
case avDiffForward: case avDiffForward:
output << "M_.aux_vars(" << i+1 << ").orig_index = " << getTypeSpecificID(aux_vars[i].get_orig_symb_id())+1 << ";" << endl; output << "M_.aux_vars(" << i+1 << ").orig_index = " << getTypeSpecificID(aux_vars[i].get_orig_symb_id())+1 << ";" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment