Skip to content

Commit aa381b4

Browse files
committed
c file changes
Was meant to help with #280 but didn't make a difference
1 parent b95d3fe commit aa381b4

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

BayesianTools/src/Makevars.win

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Force RTools mingw64 compiler
2+
CC = $(BINPREF)gcc
3+
CXX = $(BINPREF)g++
4+
CXX11 = $(BINPREF)g++ -std=c++11
5+
CXX14 = $(BINPREF)g++ -std=c++14
6+
CXX17 = $(BINPREF)g++ -std=c++17
7+
CXXFLAGS = -O2 -Wall

BayesianTools/src/vsem.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1+
2+
// [[Rcpp::depends(Rcpp)]]
13
#include <Rcpp.h>
24
using namespace Rcpp;
35

4-
// Below is a simple example of exporting a C++ function to R. You can
5-
// source this function into an R session using the Rcpp::sourceCpp
6-
// function (or via the Source button on the editor toolbar)
7-
8-
// For more on using Rcpp click the Help button on the editor toolbar
96

107
//' C version of the VSEM model
118
//' @param par parameter vector

0 commit comments

Comments
 (0)