From 93ecbe10e0fc135c96eef8de646477ac420ec0ad Mon Sep 17 00:00:00 2001 From: Jay Hesselberth Date: Mon, 20 Jan 2025 18:14:04 -0700 Subject: [PATCH] Update cpp11.cpp --- src/cpp11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp11.cpp b/src/cpp11.cpp index fa4317c6..526aa2a4 100644 --- a/src/cpp11.cpp +++ b/src/cpp11.cpp @@ -8,10 +8,10 @@ using namespace Rcpp; #include // random.cpp -writable::data_frame random_impl(data_frame genome, int length, int n, int seed); +writable::data_frame random_impl(data_frame genome, double length, int n, int seed); extern "C" SEXP _valr_random_impl(SEXP genome, SEXP length, SEXP n, SEXP seed) { BEGIN_CPP11 - return cpp11::as_sexp(random_impl(cpp11::as_cpp>(genome), cpp11::as_cpp>(length), cpp11::as_cpp>(n), cpp11::as_cpp>(seed))); + return cpp11::as_sexp(random_impl(cpp11::as_cpp>(genome), cpp11::as_cpp>(length), cpp11::as_cpp>(n), cpp11::as_cpp>(seed))); END_CPP11 }