diff --git a/preprocessor/ModelTree.cc b/preprocessor/ModelTree.cc index 9bfb30eaf..52de1aa17 100644 --- a/preprocessor/ModelTree.cc +++ b/preprocessor/ModelTree.cc @@ -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;