Skip to content

debug: reset prepared flag in initstate!(::StateEstimator) method - #416

Merged
franckgaga merged 4 commits into
mainfrom
debug_initstate_prepared
Aug 3, 2026
Merged

debug: reset prepared flag in initstate!(::StateEstimator) method#416
franckgaga merged 4 commits into
mainfrom
debug_initstate_prepared

Conversation

@franckgaga

@franckgaga franckgaga commented Aug 3, 2026

Copy link
Copy Markdown
Member

This is a minor debug to ensure that the user does not call updatestate! w/o preparestate! when direct==true just after calling initstate! on a StateEstimator (or a PredictiveController). By resetting the flag, an error will be thrown in such cases, as it should be to guide the user.

This is a minor debug to ensure that the user does not call `updatestate!` w/o `preparestate!` when `direct=true`. By reseting the flag, an error will be thrown in such cases.
@codecov-commenter

codecov-commenter commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.40%. Comparing base (86844fc) to head (4540349).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #416   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files          29       29           
  Lines        6130     6132    +2     
=======================================
+ Hits         6032     6034    +2     
  Misses         98       98           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@franckgaga
franckgaga merged commit 7fb1bd4 into main Aug 3, 2026
5 checks passed
@franckgaga
franckgaga deleted the debug_initstate_prepared branch August 4, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants