Skip to content
Snippets Groups Projects
Verified Commit 16eb35d2 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Bytecode + Block decomposition: fix crash with purely forward variables

After simulating a block containing purely forward variables (thus of type
“evaluate backward”), the it_ variable of the evaluator would be left in an
inconsistent state (typically 0, which means that taking the value of a lagged
variable would lead to an invalid read).

By the way, fix a symmetric problem for backward blocks (which could
potentially create a invalid read for purely backward models).

Ref. #1727

(cherry picked from commit 73253a06)
parent 21ff1cf8
1 merge request!1815WIP Cherry-picks for 4.6
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment