Skip to content

Commit 4f52041

Browse files
committed
Second sync
1 parent f989552 commit 4f52041

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2025-04-24 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* DESCRIPTION (Version, Date): RcppArmadillo 14.4.1-3
4+
5+
* inst/include/armadillo_bits/: Sync again with Armadillo 14.4.2 rc
6+
7+
2025-04-23 Dirk Eddelbuettel <edd@debian.org>
8+
9+
* DESCRIPTION (Version, Date): RcppArmadillo 14.4.1-2
10+
11+
* inst/include/armadillo_bits/: Sync with Armadillo 14.4.2 rc
12+
113
2025-04-14 Dirk Eddelbuettel <edd@debian.org>
214

315
* inst/tinytest/test_sparse.R: Remove a redundant duplicate require

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: RcppArmadillo
22
Type: Package
33
Title: 'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library
4-
Version: 14.4.1-1
5-
Date: 2025-03-27
4+
Version: 14.4.1-3
5+
Date: 2025-04-24
66
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org",
77
comment = c(ORCID = "0000-0001-6419-907X")),
88
person("Romain", "Francois", role = "aut",

inst/include/armadillo_bits/op_sp_sum_bones.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class op_sp_sum
2525
{
2626
public:
2727

28-
template<typename T1>
29-
inline static void apply(Mat<typename T1::elem_type>& out, const mtSpReduceOp<typename T1::elem_type, T1, op_sp_sum>& in);
28+
template<typename eT, typename T1>
29+
inline static void apply(Mat<eT>& out, const mtSpReduceOp<eT, T1, op_sp_sum>& in);
3030

31-
template<typename T1>
32-
inline static void apply(Mat<typename T1::elem_type>& out, const mtSpReduceOp<typename T1::elem_type, SpOp<T1, spop_square>, op_sp_sum>& in);
31+
template<typename eT, typename T1>
32+
inline static void apply(Mat<eT>& out, const mtSpReduceOp<eT, SpOp<T1, spop_square>, op_sp_sum>& in);
3333
};
3434

3535

inst/include/armadillo_bits/op_sp_sum_meat.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121

2222

2323

24-
template<typename T1>
24+
template<typename eT, typename T1>
2525
inline
2626
void
27-
op_sp_sum::apply(Mat<typename T1::elem_type>& out, const mtSpReduceOp<typename T1::elem_type, T1, op_sp_sum>& in)
27+
op_sp_sum::apply(Mat<eT>& out, const mtSpReduceOp<eT, T1, op_sp_sum>& in)
2828
{
2929
arma_debug_sigprint();
3030

31-
typedef typename T1::elem_type eT;
31+
// NOTE: assuming that eT is the same as T1::elem_type
3232

3333
const uword dim = in.aux_uword_a;
3434

@@ -83,14 +83,14 @@ op_sp_sum::apply(Mat<typename T1::elem_type>& out, const mtSpReduceOp<typename T
8383

8484

8585

86-
template<typename T1>
86+
template<typename eT, typename T1>
8787
inline
8888
void
89-
op_sp_sum::apply(Mat<typename T1::elem_type>& out, const mtSpReduceOp<typename T1::elem_type, SpOp<T1, spop_square>, op_sp_sum>& in)
89+
op_sp_sum::apply(Mat<eT>& out, const mtSpReduceOp<eT, SpOp<T1, spop_square>, op_sp_sum>& in)
9090
{
9191
arma_debug_sigprint();
9292

93-
typedef typename T1::elem_type eT;
93+
// NOTE: assuming that eT is the same as T1::elem_type
9494

9595
const uword dim = in.aux_uword_a;
9696

0 commit comments

Comments
 (0)