Skip to content

Commit

Permalink
Add fallback in case of mismatching GLIBCXX (see https://github.com/L…
Browse files Browse the repository at this point in the history
  • Loading branch information
csoneson committed Oct 20, 2022
1 parent 0aac118 commit e65d951
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/geosketch.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ geosketch <- function(mat, N, replace = FALSE, k = "auto",
idx <- basiliskRun(env = universalenv, fun = .run_geosketch,
mat = mat, N = N, replace = replace, k = k,
alpha = alpha, seed = seed, max_iter = max_iter,
one_indexed = one_indexed, verbose = verbose)
one_indexed = one_indexed, verbose = verbose,
testload = "llvmlite")
idx
}

Expand Down
3 changes: 2 additions & 1 deletion R/scsampler.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ scsampler <- function(mat, N, random_split = 1, seed = 0) {
## --------------------------------------------------------------------- ##
idx <- basiliskRun(env = universalenv, fun = .run_scsampler,
mat = mat, n_obs = N, random_state = seed,
random_split = random_split)
random_split = random_split,
testload = "llvmlite")
idx
}

Expand Down

0 comments on commit e65d951

Please sign in to comment.