Skip to content

Commit

Permalink
backing to c++14
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGelb committed Oct 30, 2024
1 parent 39ad137 commit fb7364e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ LinkingTo:
RcppArmadillo
RdMacros: Rdpack
Language: en-CA
SystemRequirements: C++17
SystemRequirements: C++14
4 changes: 2 additions & 2 deletions src/Makevars
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## -*- mode: makefile; -*-
PKG_CPPFLAGS = -I../inst/i
CXX_STD = @CXXSTD@
CXX_STD=CXX17
fsanitize=undefined
CXX_STD=CXX14
fsanitize=undefined
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## -*- mode: makefile; -*-
PKG_CPPFLAGS = -I../inst/i
CXX_STD = @CXXSTD@
CXX_STD=CXX17
CXX_STD=CXX14
fsanitize=undefined
2 changes: 1 addition & 1 deletion src/spNetwork.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using namespace Rcpp;
using namespace arma;
// [[Rcpp::depends(RcppProgress)]]
//[[Rcpp::plugins(cpp17)]]
//[[Rcpp::plugins(cpp14)]]
typedef arma::vec (*fptr)(arma::vec, double);
typedef double (*fptros)(double, double);

0 comments on commit fb7364e

Please sign in to comment.