Skip to content

Commit 65fd81b

Browse files
committed
cargo fmt
1 parent 2940af7 commit 65fd81b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

splashsurf_lib/src/octree.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{
1111
use arrayvec::ArrayVec;
1212
use log::info;
1313
use nalgebra::Vector3;
14-
use octant_helper::{Octant, OctantAxisDirections, HalfspaceFlags};
14+
use octant_helper::{HalfspaceFlags, Octant, OctantAxisDirections};
1515
use rayon::prelude::*;
1616
use smallvec::SmallVec;
1717
use std::cell::RefCell;
@@ -532,10 +532,8 @@ impl<I: Index, R: Real> OctreeNode<I, R> {
532532

533533
// Classify into all octants with margin
534534
{
535-
*particle_octant_flags = HalfspaceFlags::classify_with_margin(
536-
&relative_pos,
537-
margin,
538-
);
535+
*particle_octant_flags =
536+
HalfspaceFlags::classify_with_margin(&relative_pos, margin);
539537

540538
// Increase the counter of each octant that contains the current particle
541539
HalfspaceFlags::all_unique_octants()

0 commit comments

Comments
 (0)