forked from M-Labs/nalgebra
remove unnecessary trait bounds
This commit is contained in:
parent
0eb1f5c125
commit
498fbf51b1
@ -212,10 +212,7 @@ impl<T> CooMatrix<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Clear all triplets from the matrix.
|
/// Clear all triplets from the matrix.
|
||||||
pub fn clear_triplets(&mut self)
|
pub fn clear_triplets(&mut self) {
|
||||||
where
|
|
||||||
T: PartialEq,
|
|
||||||
{
|
|
||||||
self.col_indices.clear();
|
self.col_indices.clear();
|
||||||
self.row_indices.clear();
|
self.row_indices.clear();
|
||||||
self.values.clear();
|
self.values.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user