Skip to content

Commit

Permalink
subef opt
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas committed Aug 1, 2024
1 parent 9e980eb commit ed7a602
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recursion/compiler/src/ir/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,9 @@ impl<F: Field, EF: ExtensionField<F>> Ext<F, EF> {
(SymbolicExt::Val(lhs, _), SymbolicExt::Val(rhs, _)) => {
builder.push(DslIr::SubE(*self, *lhs, *rhs));
}
(SymbolicExt::Val(lhs, _), SymbolicExt::Base(rhs, _)) => {
builder.push(DslIr::SubEF(*self, *lhs, *rhs));

Check failure on line 1045 in recursion/compiler/src/ir/types.rs

View workflow job for this annotation

GitHub Actions / Test (x86-64)

mismatched types

Check failure on line 1045 in recursion/compiler/src/ir/types.rs

View workflow job for this annotation

GitHub Actions / Formatting & Clippy

mismatched types

Check failure on line 1045 in recursion/compiler/src/ir/types.rs

View workflow job for this annotation

GitHub Actions / Test (ARM)

mismatched types

Check failure on line 1045 in recursion/compiler/src/ir/types.rs

View workflow job for this annotation

GitHub Actions / Test (fast-experimental)

mismatched types
}
(SymbolicExt::Val(lhs, _), rhs) => {
let rhs_value = Self::uninit(builder);
rhs_value.assign_with_caches(rhs.clone(), builder, ext_cache, base_cache);
Expand Down

0 comments on commit ed7a602

Please sign in to comment.