Skip to content

Commit

Permalink
Fixed the non-API call in the C code
Browse files Browse the repository at this point in the history
  • Loading branch information
rcastelo committed Aug 18, 2024
1 parent fde5774 commit 160f443
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: GSVA
Version: 1.53.8
Version: 1.53.9
Title: Gene Set Variation Analysis for Microarray and RNA-Seq Data
Authors@R: c(person("Robert", "Castelo", role=c("aut", "cre"), email="[email protected]"),
person("Justin", "Guinney", role="aut", email="[email protected]"),
Expand Down
8 changes: 6 additions & 2 deletions src/ecdfvals.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ dbl_cmp(const void* a, const void* b) {
}

/* src/main/unique.c */
/*
SEXP match5(SEXP itable, SEXP ix, int nmatch, SEXP incomp, SEXP env);
*/

SEXP
match_int(SEXP x, SEXP table) {
/*
SEXP s, t, ansR;

PROTECT(t = s = allocList(3));
Expand All @@ -67,8 +68,11 @@ match_int(SEXP x, SEXP table) {
SETCAR(t, table);
SET_TAG(t, install("table"));
ansR = eval(s, R_GlobalEnv);
*/

/*
SEXP ansR = match5(table, x, NA_INTEGER, NULL, R_GlobalEnv);
*/
UNPROTECT(1); /* t s */

return(ansR);
}
Expand Down

0 comments on commit 160f443

Please sign in to comment.