Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion g16ckt/src/gadgets/bn254/fq12.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Fq12 {
}

pub fn is_empty(&self) -> bool {
self.0.is_empty()
self.len() == 0
}

pub fn new_constant(v: ark_bn254::Fq12) -> Fq12 {
Expand Down
2 changes: 1 addition & 1 deletion g16ckt/src/gadgets/bn254/fq2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Fq2 {
}

pub fn is_empty(&self) -> bool {
self.0.is_empty()
self.len() == 0
}

pub fn iter(&self) -> impl Iterator<Item = &WireId> {
Expand Down
2 changes: 1 addition & 1 deletion g16ckt/src/gadgets/bn254/fq6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ impl Fq6 {
}

pub fn is_empty(&self) -> bool {
self.0.is_empty()
self.len() == 0
}
}

Expand Down
Loading