From b9483ab545621517974390a7d4ff1d846318683c Mon Sep 17 00:00:00 2001 From: Lukas Hermann Date: Tue, 16 Aug 2022 22:06:43 +0000 Subject: [PATCH] remove bad return type --- nalgebra-sparse/src/coo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nalgebra-sparse/src/coo.rs b/nalgebra-sparse/src/coo.rs index 9793fa1e..240e2c57 100644 --- a/nalgebra-sparse/src/coo.rs +++ b/nalgebra-sparse/src/coo.rs @@ -212,7 +212,7 @@ impl CooMatrix { } /// Clear all triplets from the matrix. - pub fn clear_triplets(&mut self, i: usize, j: usize, v: T) -> Option + pub fn clear_triplets(&mut self, i: usize, j: usize, v: T) where T: PartialEq, {