--- a/src/loc.rs Sun May 18 23:15:50 2025 -0500 +++ b/src/loc.rs Sun May 18 23:31:48 2025 -0500 @@ -608,7 +608,7 @@ } } -impl<F: Float, const N: usize> Dist<F, L2> for Loc<N, F> { +impl<F: Float, const N: usize> Dist<L2, F> for Loc<N, F> { #[inline] fn dist<I: Instance<Self>>(&self, other: I, _: L2) -> F { self.dist2(other) @@ -635,7 +635,7 @@ } } -impl<F: Float, const N: usize> Dist<F, L1> for Loc<N, F> { +impl<F: Float, const N: usize> Dist<L1, F> for Loc<N, F> { #[inline] fn dist<I: Instance<Self>>(&self, other: I, _: L1) -> F { other.eval_ref_decompose(|r| { @@ -663,7 +663,7 @@ } } -impl<F: Float, const N: usize> Dist<F, Linfinity> for Loc<N, F> { +impl<F: Float, const N: usize> Dist<Linfinity, F> for Loc<N, F> { #[inline] fn dist<I: Instance<Self>>(&self, other: I, _: Linfinity) -> F { other.eval_ref_decompose(|r| {