preprocessor: bug fix; warning should be issued if there is at least one unused exo not more than one
parent
30428aeb17
commit
9ab6be8995
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue