-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ToExpr
trait instead of ad-hoc expr
functions
#736
base: master
Are you sure you want to change the base?
Conversation
} | ||
} | ||
|
||
impl<F: SmallField, E: ExtensionField<BaseField = F>> ToExpr<E> for F { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This implementation of the trait is a bit problematic, because it clashes with making implementations for eg u64
.
ceno_zkvm/src/expression.rs
Outdated
|
||
// Implement From trait for u128 separately since it requires explicit reduction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never actually used this implementation anywhere.
Extracted from #736 for ease of review.
…#737) Extracted from scroll-tech#736 for ease of review.
No description provided.