fix assignment

This commit is contained in:
Magnus Ulimoen 2019-11-08 20:03:44 +01:00
parent 1f745745ca
commit bb6cca9004
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ impl Upwind4 {
let first_elems = prev.slice(s!(..7)); let first_elems = prev.slice(s!(..7));
for (bl, f) in block.outer_iter().zip(&mut fut) { for (bl, f) in block.outer_iter().zip(&mut fut) {
let diff = first_elems.dot(&bl); let diff = first_elems.dot(&bl);
*f = diff * idx; *f += diff * idx;
} }
for (window, f) in prev for (window, f) in prev