Skip to content
Snippets Groups Projects
Verified Commit bc827326 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

JSON: fix syntax error in the aux vars table introduced in a7fb1984

parent 5bef1853
No related branches found
No related tags found
No related merge requests found
...@@ -975,7 +975,7 @@ SymbolTable::writeJsonOutput(ostream &output) const ...@@ -975,7 +975,7 @@ SymbolTable::writeJsonOutput(ostream &output) const
if (aux_vars[i].get_orig_symb_id() >= 0) if (aux_vars[i].get_orig_symb_id() >= 0)
output << R"(, "orig_index": )" << getTypeSpecificID(aux_vars[i].get_orig_symb_id())+1 output << R"(, "orig_index": )" << getTypeSpecificID(aux_vars[i].get_orig_symb_id())+1
<< R"(, "orig_lead_lag": )" << aux_vars[i].get_orig_lead_lag() << R"(, "orig_lead_lag": )" << aux_vars[i].get_orig_lead_lag()
<< R"(, "unary_op": )" << aux_vars[i].get_unary_op(); << R"(, "unary_op": ")" << aux_vars[i].get_unary_op() << R"(")";
break; break;
case AuxVarType::multiplier: case AuxVarType::multiplier:
output << R"(, "eq_nbr": )" << aux_vars[i].get_equation_number_for_multiplier() + 1; output << R"(, "eq_nbr": )" << aux_vars[i].get_equation_number_for_multiplier() + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment