mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-23 12:13:48 +01:00
Use built-in iteration functions more
This commit is contained in:
committed by
Pratyush Mishra
parent
c42c7dd98a
commit
53a51eb4dc
@@ -586,7 +586,7 @@ impl Boolean {
|
||||
// This is part of a run of ones.
|
||||
current_run.push(a.clone());
|
||||
} else {
|
||||
if current_run.len() > 0 {
|
||||
if !current_run.is_empty() {
|
||||
// This is the start of a run of zeros, but we need
|
||||
// to k-ary AND against `last_run` first.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user