From e45449a9d8876eb4065233684c6738533b114c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sun, 21 Jan 2024 20:47:14 +0100 Subject: [PATCH] chore: address warnings --- .../contact_constraint/contact_constraints_set.rs | 5 +++-- .../solver/joint_constraint/joint_constraints_set.rs | 10 +++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/dynamics/solver/contact_constraint/contact_constraints_set.rs b/src/dynamics/solver/contact_constraint/contact_constraints_set.rs index 967b480c5..4d0227064 100644 --- a/src/dynamics/solver/contact_constraint/contact_constraints_set.rs +++ b/src/dynamics/solver/contact_constraint/contact_constraints_set.rs @@ -2,7 +2,7 @@ use crate::dynamics::solver::categorization::categorize_contacts; use crate::dynamics::solver::contact_constraint::{ GenericOneBodyConstraint, GenericOneBodyConstraintBuilder, GenericTwoBodyConstraint, GenericTwoBodyConstraintBuilder, OneBodyConstraint, OneBodyConstraintBuilder, - OneBodyConstraintSimd, TwoBodyConstraint, TwoBodyConstraintBuilder, TwoBodyConstraintSimd, + TwoBodyConstraint, TwoBodyConstraintBuilder, }; use crate::dynamics::solver::solver_body::SolverBody; use crate::dynamics::solver::solver_vel::SolverVel; @@ -19,7 +19,8 @@ use parry::math::DIM; #[cfg(feature = "simd-is-enabled")] use { crate::dynamics::solver::contact_constraint::{ - SimdOneBodyConstraintBuilder, TwoBodyConstraintBuilderSimd, + OneBodyConstraintSimd, SimdOneBodyConstraintBuilder, TwoBodyConstraintBuilderSimd, + TwoBodyConstraintSimd, }, crate::math::SIMD_WIDTH, }; diff --git a/src/dynamics/solver/joint_constraint/joint_constraints_set.rs b/src/dynamics/solver/joint_constraint/joint_constraints_set.rs index 7de0da435..21b645965 100644 --- a/src/dynamics/solver/joint_constraint/joint_constraints_set.rs +++ b/src/dynamics/solver/joint_constraint/joint_constraints_set.rs @@ -15,11 +15,15 @@ use na::DVector; use parry::math::Real; use crate::dynamics::solver::joint_constraint::joint_constraint_builder::{ - JointOneBodyConstraintBuilder, JointOneBodyConstraintBuilderSimd, - JointTwoBodyConstraintBuilder, JointTwoBodyConstraintBuilderSimd, + JointOneBodyConstraintBuilder, JointTwoBodyConstraintBuilder, }; #[cfg(feature = "simd-is-enabled")] -use parry::math::SIMD_WIDTH; +use { + crate::dynamics::solver::joint_constraint::joint_constraint_builder::{ + JointOneBodyConstraintBuilderSimd, JointTwoBodyConstraintBuilderSimd, + }, + crate::math::SIMD_WIDTH, +}; pub type JointConstraintsSet = SolverConstraintsSet;