Skip to content

Commit

Permalink
use R_NO_REMAP
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed May 21, 2024
1 parent 0641fb7 commit f884029
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: phylopomp
Type: Package
Title: Phylodynamic Inference for POMP Models
Version: 0.11.0.0
Version: 0.11.0.1
Date: 2024-05-21
Authors@R: c(person(given=c("Aaron","A."),family="King",role=c("aut","cre"),email="[email protected]",comment=c(ORCID="0000-0001-6159-3207")),
person(given=c("Qianying"),family="Lin",role=c("aut"),comment=c(ORCID="0000-0001-8620-9910"))
Expand Down
4 changes: 3 additions & 1 deletion src/internal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _PHYLOPOMP_INTERNAL_H_
#define _PHYLOPOMP_INTERNAL_H_

#define R_NO_REMAP

#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
Expand Down Expand Up @@ -49,7 +51,7 @@ static inline int set_list_elem
const char *name, int pos
) {
SET_ELEMENT(list,pos,element);
SET_STRING_ELT(names,pos,mkChar(name));
SET_STRING_ELT(names,pos,Rf_mkChar(name));
return ++pos;
}

Expand Down

0 comments on commit f884029

Please sign in to comment.