Skip to content

Conversation

@Koukyosyumei
Copy link

Motivation

The builder.when(is_real.clone()).assert_bool(cols.result); line was duplicated in the IsZeroOperation::eval function. Removing the duplicate avoids unnecessary assertions and keeps the code clean.

Solution

Deleted the second occurrence of builder.when(is_real.clone()).assert_bool(cols.result); in IsZeroOperation::eval.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@Koukyosyumei Koukyosyumei changed the title remove a duplicated line Remove duplicated assert_bool call in IsZeroOperation::eval" Oct 28, 2025
@Koukyosyumei Koukyosyumei changed the title Remove duplicated assert_bool call in IsZeroOperation::eval" Remove duplicated assert_bool call in IsZeroOperation::eval Oct 28, 2025
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