Skip to content

Commit d14f817

Browse files
committed
Fix imports of Scalar
1 parent c3962bd commit d14f817

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

splashsurf_lib/src/mesh.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
//! - [`IntoVtkUnstructuredGridPiece`] to convert basic meshes and meshes with attached attributes to the
1616
//! - [`IntoVtkDataSet`] for all meshes implementing [`IntoVtkUnstructuredGridPiece`] to directly save a mesh as a VTK file
1717
18-
use crate::{Aabb3d, MapType, Real, RealConvert, Scalar, new_map, profile};
18+
use crate::{Aabb3d, MapType, Real, RealConvert, new_map, profile};
1919
use bytemuck_derive::{Pod, Zeroable};
20-
use nalgebra::{Unit, Vector3};
20+
use nalgebra::{Scalar, Unit, Vector3};
2121
use rayon::prelude::*;
2222
use std::borrow::Cow;
2323
use std::cell::RefCell;

splashsurf_lib/src/workspace.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Workspace for reusing allocated memory between multiple surface reconstructions
22
3-
use crate::{Real, Scalar};
4-
use nalgebra::Vector3;
3+
use crate::Real;
4+
use nalgebra::{Scalar, Vector3};
55
use std::cell::RefCell;
66
use std::fmt;
77
use std::fmt::Debug;

0 commit comments

Comments
 (0)