steady_state_model: fix bug introduced in 8fddca92
- don't emit warnings if the steady_state_model block is not used - the ramsey_policy check is spurious, there is another one deepertime-shift
parent
bb18c9386d
commit
2668d55705
|
@ -58,7 +58,7 @@ SteadyStateModel::addMultipleDefinitions(const vector<int> &symb_ids, expr_t exp
|
|||
void
|
||||
SteadyStateModel::checkPass(bool ramsey_policy, WarningConsolidation &warnings) const
|
||||
{
|
||||
if (ramsey_policy)
|
||||
if (def_table.size() == 0)
|
||||
return;
|
||||
|
||||
vector<int> so_far_defined;
|
||||
|
|
Loading…
Reference in New Issue