added default cases to remove gcc warnings
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3116 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
63d4fe0910
commit
cb52002b77
|
@ -2979,6 +2979,9 @@ DynamicModel::substituteLeadLagInternal(aux_var_t type)
|
|||
case avExoLag:
|
||||
subst = it->second->substituteExoLag(subst_table, neweqs);
|
||||
break;
|
||||
default:
|
||||
cerr << "DynamicModel::substituteLeadLagInternal: impossible case" << endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
it->second = subst;
|
||||
}
|
||||
|
@ -3001,6 +3004,9 @@ DynamicModel::substituteLeadLagInternal(aux_var_t type)
|
|||
case avExoLag:
|
||||
subst = equations[i]->substituteExoLag(subst_table, neweqs);
|
||||
break;
|
||||
default:
|
||||
cerr << "DynamicModel::substituteLeadLagInternal: impossible case" << endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
BinaryOpNode *substeq = dynamic_cast<BinaryOpNode *>(subst);
|
||||
assert(substeq != NULL);
|
||||
|
|
Loading…
Reference in New Issue