cargo fmt

This commit is contained in:
Sébastien Crozet 2023-11-12 23:17:33 +01:00
parent 06b8d38970
commit c5276c90e1

View File

@ -5,7 +5,7 @@ fn sparsity_pattern_default() {
// Check that the pattern created with `Default::default()` is equivalent to a zero-sized pattern. // Check that the pattern created with `Default::default()` is equivalent to a zero-sized pattern.
let pattern = SparsityPattern::default(); let pattern = SparsityPattern::default();
let zero = SparsityPattern::zeros(0, 0); let zero = SparsityPattern::zeros(0, 0);
assert_eq!(pattern.major_dim(), zero.major_dim()); assert_eq!(pattern.major_dim(), zero.major_dim());
assert_eq!(pattern.minor_dim(), zero.minor_dim()); assert_eq!(pattern.minor_dim(), zero.minor_dim());
assert_eq!(pattern.major_offsets(), zero.major_offsets()); assert_eq!(pattern.major_offsets(), zero.major_offsets());