Commit 6255858d authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: fix bug: check whether second string in pair is empty. closes #1469

parent 2670ca8d
......@@ -1588,7 +1588,7 @@ ModelTree::writeLatexModelFile(const string &basename, ExprNodeOutputType output
content_output << iteqt->second.first;
if (!empty(iteqt->second.second))
if (iteqt->second.second.empty())
content_output << "= `" << iteqt->second.second << "'";
wrote_eq_tag = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment