include <D=2> in the Reducing*Gate id

This commit is contained in:
Balazs Komuves 2024-12-13 19:43:28 +01:00
parent 32753831d2
commit 9f9c67d373
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ impl<const D: usize> ReducingGate<D> {
impl<F: RichField + Extendable<D>, const D: usize> Gate<F, D> for ReducingGate<D> {
fn id(&self) -> String {
format!("{self:?}")
format!("{self:?}<D={D}>")
}
fn short_id(&self) -> String {

View File

@ -67,7 +67,7 @@ impl<const D: usize> ReducingExtensionGate<D> {
impl<F: RichField + Extendable<D>, const D: usize> Gate<F, D> for ReducingExtensionGate<D> {
fn id(&self) -> String {
format!("{self:?}")
format!("{self:?}<D={D}>")
}
fn short_id(&self) -> String {