mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 06:13:07 +00:00
Fix BaseSumGenerator and BaseSplitGenerator Ids (#1494)
* fix: different ids for generators with different bases required for correct serialisation Signed-off-by: electron-team <utsavjn48@gmail.com> * fixing wasm32 build issue Signed-off-by: electron-team <utsavjn48@gmail.com> * fix fmt issue Signed-off-by: electron-team <utsavjn48@gmail.com> --------- Signed-off-by: electron-team <utsavjn48@gmail.com>
This commit is contained in:
parent
f76245e298
commit
1dc22b761f
@ -1,6 +1,6 @@
|
||||
use alloc::string::{String, ToString};
|
||||
use alloc::vec;
|
||||
use alloc::string::String;
|
||||
use alloc::vec::Vec;
|
||||
use alloc::{format, vec};
|
||||
use core::borrow::Borrow;
|
||||
|
||||
use itertools::Itertools;
|
||||
@ -91,7 +91,7 @@ impl<F: RichField + Extendable<D>, const B: usize, const D: usize> SimpleGenerat
|
||||
for BaseSumGenerator<B>
|
||||
{
|
||||
fn id(&self) -> String {
|
||||
"BaseSumGenerator".to_string()
|
||||
format!("BaseSumGenerator + Base: {B}")
|
||||
}
|
||||
|
||||
fn dependencies(&self) -> Vec<Target> {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use alloc::string::{String, ToString};
|
||||
use alloc::string::String;
|
||||
use alloc::vec::Vec;
|
||||
use alloc::{format, vec};
|
||||
use core::ops::Range;
|
||||
@ -179,7 +179,7 @@ impl<F: RichField + Extendable<D>, const B: usize, const D: usize> SimpleGenerat
|
||||
for BaseSplitGenerator<B>
|
||||
{
|
||||
fn id(&self) -> String {
|
||||
"BaseSplitGenerator".to_string()
|
||||
format!("BaseSplitGenerator + Base: {B}")
|
||||
}
|
||||
|
||||
fn dependencies(&self) -> Vec<Target> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user