Skip to content
Open
Changes from 1 commit
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 src/r1cs/sparse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
self
.get_row_unchecked(ptrs.try_into().unwrap())
.map(|(val, col_idx)| *val * vector[*col_idx])
.sum()
.fold(F::zero(), |acc, x| acc + x)

Check failure on line 94 in src/r1cs/sparse.rs

View workflow job for this annotation

GitHub Actions / clippy

no function or associated item named `zero` found for type parameter `F` in the current scope

Check failure on line 94 in src/r1cs/sparse.rs

View workflow job for this annotation

GitHub Actions / clippy

no function or associated item named `zero` found for type parameter `F` in the current scope

Check failure on line 94 in src/r1cs/sparse.rs

View workflow job for this annotation

GitHub Actions / build-wasm

no function or associated item named `zero` found for type parameter `F` in the current scope

Check failure on line 94 in src/r1cs/sparse.rs

View workflow job for this annotation

GitHub Actions / test

no function or associated item named `zero` found for type parameter `F` in the current scope

Check failure on line 94 in src/r1cs/sparse.rs

View workflow job for this annotation

GitHub Actions / build

no function or associated item named `zero` found for type parameter `F` in the current scope
})
.collect()
}
Expand Down
Loading