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

time-shift
Houtan Bastani 2017-06-14 23:40:30 +02:00
parent 4b1fd53701
commit 2cbb619f6f
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;