remove unnecessary trait bounds

This commit is contained in:
lukas 2022-08-20 00:09:12 -07:00
parent 0eb1f5c125
commit 498fbf51b1
1 changed files with 1 additions and 4 deletions

View File

@ -212,10 +212,7 @@ impl<T> CooMatrix<T> {
}
/// Clear all triplets from the matrix.
pub fn clear_triplets(&mut self)
where
T: PartialEq,
{
pub fn clear_triplets(&mut self) {
self.col_indices.clear();
self.row_indices.clear();
self.values.clear();