Skip to content
Snippets Groups Projects
Verified Commit 73253a06 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
parent 8803bc14
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment