clippy lints
This commit is contained in:
parent
35c4b25be3
commit
d60770dcbf
|
@ -144,7 +144,7 @@ pub fn json_to_grids(
|
||||||
int_op,
|
int_op,
|
||||||
)
|
)
|
||||||
} else if let Some(multigrid) = dir.strip_prefix("multi:") {
|
} else if let Some(multigrid) = dir.strip_prefix("multi:") {
|
||||||
let grids = multigrid.split(":");
|
let grids = multigrid.split(':');
|
||||||
sbp::euler::BoundaryCharacteristic::MultiGrid(
|
sbp::euler::BoundaryCharacteristic::MultiGrid(
|
||||||
grids
|
grids
|
||||||
.map(|g| {
|
.map(|g| {
|
||||||
|
|
|
@ -275,7 +275,6 @@ pub(crate) fn diff_op_row(
|
||||||
|
|
||||||
for (window, f) in prev
|
for (window, f) in prev
|
||||||
.windows(diag.len())
|
.windows(diag.len())
|
||||||
.into_iter()
|
|
||||||
.skip(window_elems_to_skip)
|
.skip(window_elems_to_skip)
|
||||||
.zip(fut.iter_mut().skip(block.len()))
|
.zip(fut.iter_mut().skip(block.len()))
|
||||||
.take(nx - 2 * block.len())
|
.take(nx - 2 * block.len())
|
||||||
|
|
Loading…
Reference in New Issue