Skip to content

Commit 8d2dac9

Browse files
authored
Merge pull request #420 from RcppCore/feature/arma_12.6.2
RcppArmadillo 0.12.6.2.0
2 parents b12b0ea + 8ba2f0f commit 8d2dac9

File tree

11 files changed

+345
-155
lines changed

11 files changed

+345
-155
lines changed

ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2023-08-08 Dirk Eddelbuettel <[email protected]>
2+
3+
* DESCRIPTION (Version, Date): RcppArmadillo 0.12.6.2.0
4+
* inst/NEWS.Rd: Idem
5+
* configure.ac: Idem
6+
* configure: Idem
7+
8+
* inst/include/armadillo: Armadillo 12.6.2
9+
* inst/include/armadillo_bits/: Idem
10+
111
2023-07-26 Dirk Eddelbuettel <[email protected]>
212

313
* DESCRIPTION (Version, Date): RcppArmadillo 0.12.6.1.0

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: 0.12.6.1.0
5-
Date: 2024-07-26
4+
Version: 0.12.6.2.0
5+
Date: 2024-08-08
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 0.12.6.1.0.
3+
# Generated by GNU Autoconf 2.71 for RcppArmadillo 0.12.6.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='0.12.6.1.0'
614-
PACKAGE_STRING='RcppArmadillo 0.12.6.1.0'
613+
PACKAGE_VERSION='0.12.6.2.0'
614+
PACKAGE_STRING='RcppArmadillo 0.12.6.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 0.12.6.1.0 to adapt to many kinds of systems.
1232+
\`configure' configures RcppArmadillo 0.12.6.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 0.12.6.1.0:";;
1294+
short | recursive ) echo "Configuration of RcppArmadillo 0.12.6.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 0.12.6.1.0
1375+
RcppArmadillo configure 0.12.6.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 0.12.6.1.0, which was
1489+
It was created by RcppArmadillo $as_me 0.12.6.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 0.12.6.1.0, which was
3947+
This file was extended by RcppArmadillo $as_me 0.12.6.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 0.12.6.1.0
4002+
RcppArmadillo config.status 0.12.6.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],[0.12.6.1.0],[[email protected]])
14+
AC_INIT([RcppArmadillo],[0.12.6.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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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 0.12.6.1.0 (2023-08-08)}{
7+
\itemize{
8+
\item Upgraded to Armadillo release 12.6.2 (Cortisol Retox)
9+
\itemize{
10+
\item use thread-safe Mersenne Twister as the default RNG on all
11+
platforms
12+
\item use unique RNG seed for each thread within multi-threaded
13+
execution (such as OpenMP)
14+
\item explicitly document \code{arma_rng::set_seed()} and
15+
\code{arma_rng::set_seed_random() }
16+
}
17+
\itemize None of the changes above affect R use as \pkg{RcppArmadillo}
18+
connects the RNGs used by R to Armadillo
19+
}
20+
}
21+
622
\section{Changes in RcppArmadillo version 0.12.6.1.0 (2023-07-26)}{
723
\itemize{
824
\item Upgraded to Armadillo release 12.6.1 (Cortisol Retox)

inst/include/armadillo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
#include <random>
5151
#include <functional>
5252
#include <chrono>
53+
#include <atomic>
5354

5455
#if !defined(ARMA_DONT_USE_STD_MUTEX)
5556
#include <mutex>
56-
#include <atomic>
5757
#endif
5858

5959
// #if defined(ARMA_HAVE_CXX17)

inst/include/armadillo_bits/SpValProxy_bones.hpp

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ template<typename T1>
2828
class SpValProxy
2929
{
3030
public:
31-
31+
3232
typedef typename T1::elem_type eT; // Convenience typedef
33-
33+
3434
friend class SpMat<eT>;
3535
friend class SpSubview<eT>;
3636

@@ -49,16 +49,17 @@ class SpValProxy
4949
//! Overload all of the potential operators.
5050

5151
//! First, the ones that could modify a value.
52-
arma_inline SpValProxy& operator=(const eT rhs);
53-
arma_inline SpValProxy& operator+=(const eT rhs);
54-
arma_inline SpValProxy& operator-=(const eT rhs);
55-
arma_inline SpValProxy& operator*=(const eT rhs);
56-
arma_inline SpValProxy& operator/=(const eT rhs);
57-
58-
arma_inline SpValProxy& operator++();
59-
arma_inline SpValProxy& operator--();
60-
arma_inline eT operator++(const int);
61-
arma_inline eT operator--(const int);
52+
inline SpValProxy& operator= (const eT rhs);
53+
inline SpValProxy& operator+=(const eT rhs);
54+
inline SpValProxy& operator-=(const eT rhs);
55+
inline SpValProxy& operator*=(const eT rhs);
56+
inline SpValProxy& operator/=(const eT rhs);
57+
58+
inline SpValProxy& operator++();
59+
inline SpValProxy& operator--();
60+
61+
inline eT operator++(const int);
62+
inline eT operator--(const int);
6263

6364
//! This will work for any other operations that do not modify a value.
6465
arma_inline operator eT() const;

0 commit comments

Comments
 (0)