From 273b91efab84bc769f6e0d3bae31ce0680643dc8 Mon Sep 17 00:00:00 2001 From: conrad Date: Wed, 30 Jul 2025 12:12:45 +1000 Subject: [PATCH] rename op_accu_fp16mat to op_accu_mat_promote --- include/armadillo_bits/fn_accu.hpp | 2 +- include/armadillo_bits/op_accu_bones.hpp | 2 +- include/armadillo_bits/op_accu_meat.hpp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/armadillo_bits/fn_accu.hpp b/include/armadillo_bits/fn_accu.hpp index 2749dbd2..e8f62f86 100644 --- a/include/armadillo_bits/fn_accu.hpp +++ b/include/armadillo_bits/fn_accu.hpp @@ -35,7 +35,7 @@ accu(const T1& expr, const typename enable_if< is_arma_type::value >::result { typedef typename T1::elem_type eT; - return (is_fp16::yes || is_cx_fp16::yes) ? op_accu_fp16mat::apply(expr) : op_accu_mat::apply(expr); + return (is_fp16::yes || is_cx_fp16::yes) ? op_accu_mat_promote::apply(expr) : op_accu_mat::apply(expr); } #else { diff --git a/include/armadillo_bits/op_accu_bones.hpp b/include/armadillo_bits/op_accu_bones.hpp index 2590a004..e756285b 100644 --- a/include/armadillo_bits/op_accu_bones.hpp +++ b/include/armadillo_bits/op_accu_bones.hpp @@ -69,7 +69,7 @@ struct op_accu_mat -struct op_accu_fp16mat +struct op_accu_mat_promote : public traits_op_passthru { template diff --git a/include/armadillo_bits/op_accu_meat.hpp b/include/armadillo_bits/op_accu_meat.hpp index 238b9d34..ba50335f 100644 --- a/include/armadillo_bits/op_accu_meat.hpp +++ b/include/armadillo_bits/op_accu_meat.hpp @@ -657,7 +657,7 @@ op_accu_mat::apply(const subview_col& X) template inline typename T1::elem_type -op_accu_fp16mat::apply_proxy_linear(const Proxy& P) +op_accu_mat_promote::apply_proxy_linear(const Proxy& P) { arma_debug_sigprint(); @@ -685,7 +685,7 @@ op_accu_fp16mat::apply_proxy_linear(const Proxy& P) template inline typename T1::elem_type -op_accu_fp16mat::apply_proxy_at(const Proxy& P) +op_accu_mat_promote::apply_proxy_at(const Proxy& P) { arma_debug_sigprint(); @@ -726,7 +726,7 @@ op_accu_fp16mat::apply_proxy_at(const Proxy& P) template inline typename T1::elem_type -op_accu_fp16mat::apply(const T1& X) +op_accu_mat_promote::apply(const T1& X) { arma_debug_sigprint(); @@ -754,7 +754,7 @@ op_accu_fp16mat::apply(const T1& X) const Proxy P(X); - return (Proxy::use_at) ? op_accu_fp16mat::apply_proxy_at(P) : op_accu_fp16mat::apply_proxy_linear(P); + return (Proxy::use_at) ? op_accu_mat_promote::apply_proxy_at(P) : op_accu_mat_promote::apply_proxy_linear(P); }