Merge branch 'dev' of github.com:smr97/nalgebra into dev

This commit is contained in:
Saurabh 2022-03-12 15:12:32 -07:00
commit 6d26f4f32c
1 changed files with 2 additions and 3 deletions

View File

@ -47,10 +47,9 @@ where
scratchpad_values[*j] += alpha_aik.clone() * b_kj.clone(); scratchpad_values[*j] += alpha_aik.clone() * b_kj.clone();
} }
} }
// sort the indices, and then access the relevant indices (in sorted order) from values
// into C.
let (indices, values) = c_lane_i.indices_and_values_mut();
//Get indices from C pattern and gather from the dense scratchpad_values
let (indices, values) = c_lane_i.indices_and_values_mut();
values values
.iter_mut() .iter_mut()
.zip(indices) .zip(indices)