fix bug causing auxiliary variables for pac growth parameters not to contain their original symbol id
parent
10ed67f6f0
commit
0bb233d291
|
@ -6408,6 +6408,10 @@ DynamicModel::substituteDiff(vector<expr_t> &pac_growth)
|
||||||
for (const auto & equation : equations)
|
for (const auto & equation : equations)
|
||||||
equation->findDiffNodes(diff_nodes);
|
equation->findDiffNodes(diff_nodes);
|
||||||
|
|
||||||
|
for (const auto & gv : pac_growth)
|
||||||
|
if (gv != nullptr)
|
||||||
|
gv->findDiffNodes(diff_nodes);
|
||||||
|
|
||||||
/* Ensure that all diff operators appear once with their argument at current
|
/* Ensure that all diff operators appear once with their argument at current
|
||||||
period (i.e. index 0 in the equivalence class, see comment above
|
period (i.e. index 0 in the equivalence class, see comment above
|
||||||
lag_equivalence_table_t in ExprNode.hh for details on the concepts).
|
lag_equivalence_table_t in ExprNode.hh for details on the concepts).
|
||||||
|
|
Loading…
Reference in New Issue