Skip to content

Commit

Permalink
[SQ]
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarnard committed Dec 1, 2024
1 parent bf92aa1 commit 1f4e159
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/csc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ mod tests {
let expected = CscMatrix {
nrows: 4,
ncols: 3,
indptr: (&[0, 3, 5, 8]).into(),
indices: (&[0, 2, 3, 1, 3, 0, 1, 3]).into(),
data: (&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0]).into(),
indptr: Cow::Borrowed(&[0, 3, 5, 8]),
indices: Cow::Borrowed(&[0, 2, 3, 1, 3, 0, 1, 3]),
data: Cow::Borrowed(&[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0]),
};

assert_eq!(from_column, expected);
Expand Down

0 comments on commit 1f4e159

Please sign in to comment.