From a30a7101e86a1d4f06e2a65b3f3e4bf3af13822f Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sat, 3 May 2025 00:36:03 +0100 Subject: [PATCH] Refactor element-wise comparison macro to improve naming consistency --- src/matrix/mat.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/matrix/mat.rs b/src/matrix/mat.rs index be4c163..110d2d6 100644 --- a/src/matrix/mat.rs +++ b/src/matrix/mat.rs @@ -399,11 +399,12 @@ macro_rules! impl_elementwise_cmp { // Instantiate element-wise comparison implementations for matrices. impl_elementwise_cmp! { - eq_elementwise => ==, - lt_elementwise => <, - le_elementwise => <=, - gt_elementwise => >, - ge_elementwise => >=, + eq_elem => ==, + ne_elem => !=, + lt_elem => <, + le_elem => <=, + gt_elem => >, + ge_elem => >=, } /// Generates element-wise arithmetic implementations for matrices.