Skip to content

Fix ASSERTS that break the debug build - #696

Open
LWZsama wants to merge 1 commit into
tomcl:masterfrom
LWZsama:fix-asserts-evalalgebraic
Open

Fix ASSERTS that break the debug build#696
LWZsama wants to merge 1 commit into
tomcl:masterfrom
LWZsama:fix-asserts-evalalgebraic

Conversation

@LWZsama

@LWZsama LWZsama commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The ASSERTS-only paths in EvalAlgebraic were still using stale names from earlier refactors. These paths are omitted from release builds, so the errors only appeared when compiling the debug build (with ASSERTS).

Fixed by using the component's actual input count for bounds checks, call expToKatex for algebraic expressions, and validate the Mux4 inputs through the fd0..fd3 bindings.

The ASSERTS-only paths in EvalAlgebraic were still using stale names from earlier refactors. These paths are omitted from release builds, so the errors only appeared when compiling the renderer with ASSERTS.
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