Skip to content

Commit 93c33ae

Browse files
authored
Merge pull request #451 from RcppCore/feature/arma_14.0.2
RcppArmadillo 14.0.2 with Armadillo 14.0.2
2 parents 01cd96a + ee10ae1 commit 93c33ae

24 files changed

+82
-140
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2024-08-06 Dirk Eddelbuettel <[email protected]>
2+
3+
* DESCRIPTION (Version, Date): RcppArmadillo 14.0.2
4+
* inst/NEWS.Rd: Idem
5+
* configure.ac: Idem
6+
* configure: Idem
7+
18
2024-08-01 Dirk Eddelbuettel <[email protected]>
29

310
* DESCRIPTION (Version, Date): Increment micro version, update date

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.0.0-1-1
5-
Date: 2024-08-01
4+
Version: 14.0.2-0
5+
Date: 2024-08-06
66
Author: Dirk Eddelbuettel, Romain Francois, Doug Bates, Binxiang Ni, and Conrad Sanderson
77
Maintainer: Dirk Eddelbuettel <[email protected]>
88
Description: 'Armadillo' is a templated C++ linear algebra library (by Conrad

configure

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for RcppArmadillo 14.0.0-1.
3+
# Generated by GNU Autoconf 2.71 for RcppArmadillo 14.0.2-0.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -610,8 +610,8 @@ MAKEFLAGS=
610610
# Identity of this package.
611611
PACKAGE_NAME='RcppArmadillo'
612612
PACKAGE_TARNAME='rcpparmadillo'
613-
PACKAGE_VERSION='14.0.0-1'
614-
PACKAGE_STRING='RcppArmadillo 14.0.0-1'
613+
PACKAGE_VERSION='14.0.2-0'
614+
PACKAGE_STRING='RcppArmadillo 14.0.2-0'
615615
PACKAGE_BUGREPORT='[email protected]'
616616
PACKAGE_URL=''
617617

@@ -1229,7 +1229,7 @@ if test "$ac_init_help" = "long"; then
12291229
# Omit some internal or obsolete options to make the list less imposing.
12301230
# This message is too long to be a string in the A/UX 3.1 sh.
12311231
cat <<_ACEOF
1232-
\`configure' configures RcppArmadillo 14.0.0-1 to adapt to many kinds of systems.
1232+
\`configure' configures RcppArmadillo 14.0.2-0 to adapt to many kinds of systems.
12331233
12341234
Usage: $0 [OPTION]... [VAR=VALUE]...
12351235
@@ -1291,7 +1291,7 @@ fi
12911291

12921292
if test -n "$ac_init_help"; then
12931293
case $ac_init_help in
1294-
short | recursive ) echo "Configuration of RcppArmadillo 14.0.0-1:";;
1294+
short | recursive ) echo "Configuration of RcppArmadillo 14.0.2-0:";;
12951295
esac
12961296
cat <<\_ACEOF
12971297
@@ -1372,7 +1372,7 @@ fi
13721372
test -n "$ac_init_help" && exit $ac_status
13731373
if $ac_init_version; then
13741374
cat <<\_ACEOF
1375-
RcppArmadillo configure 14.0.0-1
1375+
RcppArmadillo configure 14.0.2-0
13761376
generated by GNU Autoconf 2.71
13771377
13781378
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1486,7 +1486,7 @@ cat >config.log <<_ACEOF
14861486
This file contains any messages produced by compilers while
14871487
running configure, to aid debugging if configure makes a mistake.
14881488
1489-
It was created by RcppArmadillo $as_me 14.0.0-1, which was
1489+
It was created by RcppArmadillo $as_me 14.0.2-0, which was
14901490
generated by GNU Autoconf 2.71. Invocation command line was
14911491
14921492
$ $0$ac_configure_args_raw
@@ -3944,7 +3944,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39443944
# report actual input values of CONFIG_FILES etc. instead of their
39453945
# values after options handling.
39463946
ac_log="
3947-
This file was extended by RcppArmadillo $as_me 14.0.0-1, which was
3947+
This file was extended by RcppArmadillo $as_me 14.0.2-0, which was
39483948
generated by GNU Autoconf 2.71. Invocation command line was
39493949
39503950
CONFIG_FILES = $CONFIG_FILES
@@ -3999,7 +3999,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
39993999
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
40004000
ac_cs_config='$ac_cs_config_escaped'
40014001
ac_cs_version="\\
4002-
RcppArmadillo config.status 14.0.0-1
4002+
RcppArmadillo config.status 14.0.2-0
40034003
configured by $0, generated by GNU Autoconf 2.71,
40044004
with options \\"\$ac_cs_config\\"
40054005

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
AC_PREREQ([2.69])
1212

1313
## Process this file with autoconf to produce a configure script.
14-
AC_INIT([RcppArmadillo],[14.0.0-1],[[email protected]])
14+
AC_INIT([RcppArmadillo],[14.0.2-0],[[email protected]])
1515

1616
## Set R_HOME, respecting an environment variable if one is set
1717
: ${R_HOME=$(R RHOME)}

inst/NEWS.Rd

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
\newcommand{\ghpr}{\href{https://github.com/RcppCore/RcppArmadillo/pull/#1}{##1}}
44
\newcommand{\ghit}{\href{https://github.com/RcppCore/RcppArmadillo/issues/#1}{##1}}
55

6-
\section{Changes in RcppArmadillo version 14.x.y-z (2024-xx-yy)}{
6+
\section{Changes in RcppArmadillo version 14.0.2-0 (2024-08-06) (GitHub Only){
77
\itemize{
8+
\item Upgraded to Armadillo release 14.0.2 (Stochastic Parrot)
9+
\itemize{
10+
\item Optionally use C++20 memory alignment
11+
\item Minor corrections for several corner-cases
12+
}
813
\item The order of items displayed by \code{citation()} is reversed (Conrad
914
in \ghpr{449})
1015
}

inst/include/armadillo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <cmath>
3636
#include <ctime>
3737

38+
#include <memory>
3839
#include <iostream>
3940
#include <fstream>
4041
#include <sstream>
@@ -52,7 +53,7 @@
5253
#include <chrono>
5354
#include <atomic>
5455

55-
#if !defined(ARMA_DONT_USE_STD_MUTEX)
56+
#if defined(ARMA_USE_STD_MUTEX)
5657
#include <mutex>
5758
#endif
5859

inst/include/armadillo_bits/Cube_meat.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3562,7 +3562,7 @@ Cube<eT>::operator() (const uword in_row, const uword in_col, const uword in_sli
35623562
//! element accessor; no bounds check
35633563
template<typename eT>
35643564
arma_inline
3565-
eT&
3565+
eT&
35663566
Cube<eT>::operator[] (const uword in_row, const uword in_col, const uword in_slice)
35673567
{
35683568
return access::rw( mem[in_slice*n_elem_slice + in_col*n_rows + in_row] );
@@ -3573,7 +3573,7 @@ Cube<eT>::operator() (const uword in_row, const uword in_col, const uword in_sli
35733573
//! element accessor; no bounds check
35743574
template<typename eT>
35753575
arma_inline
3576-
const eT&
3576+
const eT&
35773577
Cube<eT>::operator[] (const uword in_row, const uword in_col, const uword in_slice) const
35783578
{
35793579
return mem[in_slice*n_elem_slice + in_col*n_rows + in_row];

inst/include/armadillo_bits/Mat_meat.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6500,7 +6500,7 @@ Mat<eT>::at(const uword in_row, const uword in_col) const
65006500
//! element accessor; no bounds check
65016501
template<typename eT>
65026502
arma_inline
6503-
eT&
6503+
eT&
65046504
Mat<eT>::operator[] (const uword in_row, const uword in_col)
65056505
{
65066506
return access::rw( mem[in_row + in_col*n_rows] );
@@ -6511,7 +6511,7 @@ Mat<eT>::at(const uword in_row, const uword in_col) const
65116511
//! element accessor; no bounds check
65126512
template<typename eT>
65136513
arma_inline
6514-
const eT&
6514+
const eT&
65156515
Mat<eT>::operator[] (const uword in_row, const uword in_col) const
65166516
{
65176517
return mem[in_row + in_col*n_rows];

inst/include/armadillo_bits/Proxy.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ struct Proxy< CubeToMatOp<T1, op_vectorise_cube_col> >
795795

796796
static constexpr bool use_at = false;
797797
static constexpr bool use_mp = false;
798-
static constexpr bool has_subview = false;
798+
static constexpr bool has_subview = true;
799799

800800
static constexpr bool is_row = false;
801801
static constexpr bool is_col = true;
@@ -891,7 +891,7 @@ struct Proxy< SpToDOp<SpMat<eT>, op_sp_nonzeros> >
891891

892892
static constexpr bool use_at = false;
893893
static constexpr bool use_mp = false;
894-
static constexpr bool has_subview = false;
894+
static constexpr bool has_subview = true;
895895

896896
static constexpr bool is_row = false;
897897
static constexpr bool is_col = true;

inst/include/armadillo_bits/SpMat_meat.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3374,7 +3374,7 @@ SpMat<eT>::operator()(const uword i) const
33743374

33753375
template<typename eT>
33763376
arma_inline
3377-
SpMat_MapMat_val<eT>
3377+
SpMat_MapMat_val<eT>
33783378
SpMat<eT>::operator[] (const uword in_row, const uword in_col)
33793379
{
33803380
return SpMat_MapMat_val<eT>((*this), cache, in_row, in_col);
@@ -3384,7 +3384,7 @@ SpMat<eT>::operator()(const uword i) const
33843384

33853385
template<typename eT>
33863386
arma_inline
3387-
eT
3387+
eT
33883388
SpMat<eT>::operator[] (const uword in_row, const uword in_col) const
33893389
{
33903390
return get_value(in_row, in_col);

0 commit comments

Comments
 (0)