preprocessor: fix bug: check whether second string in pair is empty. closes #1469
parent
2670ca8db0
commit
6255858d21
|
@ -1588,7 +1588,7 @@ ModelTree::writeLatexModelFile(const string &basename, ExprNodeOutputType output
|
||||||
|
|
||||||
content_output << iteqt->second.first;
|
content_output << iteqt->second.first;
|
||||||
|
|
||||||
if (!empty(iteqt->second.second))
|
if (iteqt->second.second.empty())
|
||||||
content_output << "= `" << iteqt->second.second << "'";
|
content_output << "= `" << iteqt->second.second << "'";
|
||||||
|
|
||||||
wrote_eq_tag = true;
|
wrote_eq_tag = true;
|
||||||
|
|
Loading…
Reference in New Issue