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

issue#70
Houtan Bastani 2017-06-14 23:40:30 +02:00
parent 2670ca8db0
commit 6255858d21
1 changed files with 1 additions and 1 deletions

View File

@ -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;