From 2ff4a993460c1a4b4a2e9c08c1e17f0e61a6d004 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sat, 26 Apr 2025 02:45:56 +0100 Subject: [PATCH] Reorganize type aliases for matrix types: move to appropriate location for clarity --- src/matrix/mat.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/matrix/mat.rs b/src/matrix/mat.rs index 284be31..95f0ac7 100644 --- a/src/matrix/mat.rs +++ b/src/matrix/mat.rs @@ -297,11 +297,6 @@ impl_elementwise_op!(Sub, sub, -); impl_elementwise_op!(Mul, mul, *); impl_elementwise_op!(Div, div, /); -pub type FloatMatrix = Matrix; -pub type BoolMatrix = Matrix; -pub type IntMatrix = Matrix; -pub type StringMatrix = Matrix; - /// Generates element-wise bitwise operations for boolean matrices. macro_rules! impl_bitwise_op { ($OpTrait:ident, $method:ident, $op:tt) => { @@ -345,6 +340,10 @@ impl Not for Matrix { } } +pub type FloatMatrix = Matrix; +pub type BoolMatrix = Matrix; +pub type IntMatrix = Matrix; +pub type StringMatrix = Matrix; #[cfg(test)] mod tests {