diff --git a/src/ModelTree.cc b/src/ModelTree.cc index 08d38348f1cbb134bb09fad4c2d2bc865ef915f9..a8348e7ac699a5004bae996560adfc227a13d711 100644 --- a/src/ModelTree.cc +++ b/src/ModelTree.cc @@ -1653,10 +1653,8 @@ ModelTree::writeJsonModelLocalVariables(ostream &output, deriv_node_temp_terms_t if (!efout.empty()) output << ", "; - /* We append underscores to avoid name clashes with "g1" or "oo_" (see - also VariableNode::writeOutput) */ - output << R"({"variable": ")" << symbol_table.getName(id) << R"(__")" - << R"(, "value": ")"; + output << R"({"variable": ")" << symbol_table.getName(id) + << R"(", "value": ")"; value->writeJsonOutput(output, tt, tef_terms); output << R"("})" << endl; }