Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tbetcke committed Sep 22, 2024
1 parent a6a2cb7 commit 2c2ed17
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
6 changes: 1 addition & 5 deletions examples/mpi_complete_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
use bempp_octree::{
constants::DEEPEST_LEVEL,
geometry::PhysicalBox,
octree::{
complete_tree, compute_global_bounding_box, is_complete_linear_tree, points_to_morton,
},
tools::gather_to_root,
octree::{complete_tree, is_complete_linear_tree, points_to_morton},
};
use mpi::traits::*;
use rand::prelude::*;
Expand Down
6 changes: 1 addition & 5 deletions examples/mpi_cumsum.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
//! Test the computation of a global bounding box across MPI ranks.
use bempp_octree::{
geometry::PhysicalBox,
octree::compute_global_bounding_box,
tools::{gather_to_root, global_inclusive_cumsum},
};
use bempp_octree::tools::{gather_to_root, global_inclusive_cumsum};
use itertools::{izip, Itertools};
use mpi::traits::*;
use rand::prelude::*;
Expand Down
3 changes: 1 addition & 2 deletions examples/parallel_tests.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//! Testing the hyksort component.
use bempp_octree::constants::{DEEPEST_LEVEL, LEVEL_SIZE};
use bempp_octree::morton::MortonKey;
use bempp_octree::octree::{block_partition, linearize, partition};
use bempp_octree::parsort::parsort;
use bempp_octree::octree::{block_partition, linearize};
use bempp_octree::tools::gather_to_root;
use itertools::{izip, Itertools};
use mpi::traits::*;
Expand Down
8 changes: 2 additions & 6 deletions src/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
use itertools::{izip, Itertools};
use mpi::{
collective::{SystemOperation, UserOperation},
datatype::{DynBuffer, Partition, PartitionMut},
datatype::{Partition, PartitionMut},
point_to_point as p2p,
raw::AsRaw,
traits::{
AsDatatype, CommunicatorCollectives, Destination, Equivalence, PartitionedBuffer,
PartitionedBufferMut, Root, Source,
},
traits::{CommunicatorCollectives, Destination, Equivalence, Root, Source},
};
use num::traits::Zero;
use rand::Rng;
Expand Down

0 comments on commit 2c2ed17

Please sign in to comment.