Skip to content

Zero initialize scaffold force vectors - #178

Merged
yingyue2030699 merged 1 commit into
mainfrom
codex/scaffold-force-zero-init
Aug 3, 2026
Merged

Zero initialize scaffold force vectors#178
yingyue2030699 merged 1 commit into
mainfrom
codex/scaffold-force-zero-init

Conversation

@yingyue2030699

Copy link
Copy Markdown
Member

Resolves the shared scaffold-force test failure that caused both PR 174 checks to fail. The GSL-backed Matrix(3, 1) constructor leaves storage uninitialized, while both the production per-scaffold accumulation buffer and the test expectation set or update only selected components. Use the existing zero-initializing Matrix(3, 1, true) form for both vectors so X/Y begin at zero and Z retains the expected physical force. Verification in WSL: focused regression pass; 20/20 repeated regression runs; standard full C++ suite 210/210; coverage-instrumented full C++ suite 210/210; git diff --check pass. LCOV capture was not run locally because lcov is absent from this WSL image; the GitHub workflow installs it before capture.

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@yingyue2030699
yingyue2030699 merged commit 906a785 into main Aug 3, 2026
3 checks passed
@yingyue2030699
yingyue2030699 deleted the codex/scaffold-force-zero-init branch August 27, 2026 05:34
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.

1 participant