Skip to content

Commit

Permalink
THIS commit also causes clippy to alloc 45 GB die, and it has no erro…
Browse files Browse the repository at this point in the history
…rs this time
  • Loading branch information
Bruno02468 committed May 2, 2024
1 parent 716a383 commit c6eace5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions f06/src/f06file/extraction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,16 +312,16 @@ impl Extraction {
.filter(|b| self.block_types.filter_fn(&b.block_type));
for block in compatible_blocks {
let mut clone = block.clone();
let rows = b.row_indexes.keys()
let rows = clone.row_indexes.keys()
.filter(|ri| self.rows.filter_fn(ri))
.filter(|ri| self.grid_points.lax_filter(&ri.grid_point_id()))
.filter(|ri| self.elements.lax_filter(&ri.element_id()));
let cols = b.col_indexes.keys()
let cols = clone.col_indexes.keys()
.filter(|ci| self.cols.filter_fn(ci))
.filter(|ci| self.grid_points.lax_filter(&ci.grid_point_id()))
.filter(|ci| self.elements.lax_filter(&ci.element_id()))
.filter(
|ci| self.raw_cols.filter_fn(b.col_indexes.get(ci).unwrap())
|ci| self.raw_cols.filter_fn(clone.col_indexes.get(ci).unwrap())
);
subs.push(clone);
}
Expand Down

0 comments on commit c6eace5

Please sign in to comment.