diff --git a/src/ModelTree.cc b/src/ModelTree.cc index ed9410a3e5177f49567b3bcb263be0c1a9d7ab3a..2545cafe7edc7ebb2ec905c99fe931efc39093a3 100644 --- a/src/ModelTree.cc +++ b/src/ModelTree.cc @@ -1393,10 +1393,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; }