preprocessor: fix bug when printing model variables containing underscores in latex file. closes #1059

time-shift
Houtan Bastani 2015-09-16 12:20:20 +02:00
parent 67410d87cf
commit ad3d00f0da
1 changed files with 1 additions and 1 deletions

View File

@ -1385,7 +1385,7 @@ ModelTree::writeLatexModelFile(const string &basename, ExprNodeOutputType output
expr_t value = it->second;
content_output << "\\begin{dmath*}" << endl
<< symbol_table.getName(id) << " = ";
<< symbol_table.getTeXName(id) << " = ";
// Use an empty set for the temporary terms
value->writeOutput(content_output, output_type);
content_output << endl << "\\end{dmath*}" << endl;