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

Bugfix with temporary terms in block+bytecode

There were actually two distinct bugs, leading to incorrect results in some
corner cases:

– in the “evaluate” mode of the bytecode MEX, the temporary terms of the
  derivatives “evaluate” blocks were not evaluated at runtime; but these
  temporary terms may be needed for residuals of subsequent blocks;

– when the bytecode MEX was only computing residuals of the model (and not 1st
  order derivatives), the temporary terms of the derivatives were not evaluated
  at runtime; but these temporary terms may be needed for residuals of subsequent
  blocks.

(manually cherry picked from commit a97a41f6)
parent 7328025d
Branches
No related tags found
No related merge requests found
Pipeline #7278 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment