Skip to content

Commit a748def

Browse files
committed
Formatting
1 parent a5f200d commit a748def

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

splashsurf/src/io.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,10 @@ pub fn read_particle_positions_with_attributes<R: Real, P: AsRef<Path>>(
166166
}
167167
}
168168

169-
let attributes = bgeo_format::attributes_from_bgeo_file(
169+
bgeo_format::attributes_from_bgeo_file(
170170
&bgeo_file,
171171
&Vec::from_iter(attributes_to_interpolate),
172-
)?;
173-
174-
attributes
172+
)?
175173
};
176174

177175
(particle_positions, attributes)

splashsurf/src/reconstruction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::{io, logging};
33
use anyhow::{anyhow, Context};
44
use clap::value_parser;
55
use indicatif::{ProgressBar, ProgressStyle};
6-
use log::{error, info, warn};
6+
use log::{error, info};
77
use rayon::prelude::*;
88
use splashsurf_lib::mesh::{AttributeData, Mesh3d, MeshAttribute, MeshWithData};
99
use splashsurf_lib::nalgebra::{Unit, Vector3};

0 commit comments

Comments
 (0)