Skip to content

Commit

Permalink
Merge pull request #111 from valida-xyz/sym_expr_from
Browse files Browse the repository at this point in the history
From<SymbolicExpression<F>> for SymbolicExpressionExt<EF>
  • Loading branch information
dlubarov authored Feb 6, 2024
2 parents 6157bd9 + fc7032a commit 5dff7bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions machine/src/symbolic/symbolic_expression_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ impl<EF: Field> From<SymbolicVariable<EF>> for SymbolicExpressionExt<EF> {
}
}

impl<F, EF> From<SymbolicExpression<F>> for SymbolicExpressionExt<EF>
where
F: Field,
EF: ExtensionField<F>,
{
fn from(value: SymbolicExpression<F>) -> Self {
Self::from_base(value)
}
}

impl<EF> AbstractField for SymbolicExpressionExt<EF>
where
EF: Field,
Expand Down

0 comments on commit 5dff7bb

Please sign in to comment.