diff --git a/ModFile.cc b/ModFile.cc index e21cf81e82819134705edcb0647da96abe33c51f..847fc7e334ac8e404492b5a71739f527a43b4b65 100644 --- a/ModFile.cc +++ b/ModFile.cc @@ -290,7 +290,7 @@ ModFile::checkPass() // Check if some exogenous is not used in the model block set<int> unusedExo = dynamic_model.findUnusedExogenous(); - if (unusedExo.size() > 1) + if (unusedExo.size() > 0) { warnings << "WARNING: some exogenous ("; for (set<int>::const_iterator it = unusedExo.begin();