We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7830221 commit b18f454Copy full SHA for b18f454
coupe-metis/src/lib.rs
@@ -42,7 +42,7 @@ unsafe fn partition(
42
43
// TODO make graph algorithms work over CsMatViewI instead of CsMatView
44
// to avoid these conversions.
45
- let xadj: Vec<usize> = slice::from_raw_parts(xadj, nvtxs)
+ let xadj: Vec<usize> = slice::from_raw_parts(xadj, nvtxs + 1)
46
.iter()
47
.map(|i| *i as usize)
48
.collect();
0 commit comments