Skip to content

feat: Replace magic number with named constant in calculator CPU#259

Open
deus-labs wants to merge 1 commit intorisc0:mainfrom
deus-labs:main
Open

feat: Replace magic number with named constant in calculator CPU#259
deus-labs wants to merge 1 commit intorisc0:mainfrom
deus-labs:main

Conversation

@deus-labs
Copy link
Copy Markdown

Replace the magic number 3 with a descriptive constant VALIDITY_CHECK_MULTIPLIER in the eval_check function of the CpuCircuitHal implementation. This improves code readability and maintainability by clearly documenting the purpose of this value in validity checking calculations

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