Improved code

This commit is contained in:
Andrew Kane
2021-11-30 14:26:27 -08:00
parent 0e07dc8bcf
commit 36e4bd212f

View File

@@ -29,8 +29,8 @@ impl Matrix {
let n = data.iter().map(|x| x.v).max().unwrap_or(-1) + 1; let n = data.iter().map(|x| x.v).max().unwrap_or(-1) + 1;
MfProblem { MfProblem {
m: m, m,
n: n, n,
nnz: data.len() as i64, nnz: data.len() as i64,
r: data.as_ptr() r: data.as_ptr()
} }