From deaf3c63e9636678fd58cb710ea1461950da466b Mon Sep 17 00:00:00 2001 From: Ralf Stubner Date: Thu, 16 May 2024 22:19:43 +0200 Subject: [PATCH] Bump version and fix typos --- DESCRIPTION | 8 ++++---- README.Rmd | 1 + README.md | 2 ++ inst/include/xoshiro.h | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2d9ba3a..6d663d5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: dqrng Type: Package Title: Fast Pseudo Random Number Generators -Version: 0.4.0 +Version: 0.4.0.1 Authors@R: c( person("Ralf", "Stubner", email = "ralf.stubner@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0009-0009-1908-106X")), person("daqana GmbH", role = "cph"), @@ -24,9 +24,9 @@ Description: Several fast random number generators are provided as C++ The fast sampling methods support unweighted sampling both with and without replacement. These functions are exported to R and as a C++ interface and are enabled for use with the default 64 bit generator from the PCG family, - Xoroshiro128+/++ and Xoshiro256+/++ as well as the 64 bit version of the 20 - rounds Threefry engine (Salmon et al., 2011, ) as - provided by the package 'sitmo'. + Xoroshiro128+/++/** and Xoshiro256+/++/** as well as the 64 bit version of the + 20 rounds Threefry engine (Salmon et al., 2011, ) + as provided by the package 'sitmo'. License: AGPL-3 Depends: R (>= 3.5.0) Imports: Rcpp (>= 0.12.16) diff --git a/README.Rmd b/README.Rmd index 029f568..e5f59ea 100644 --- a/README.Rmd +++ b/README.Rmd @@ -19,6 +19,7 @@ knitr::opts_chunk$set( [![Downloads](https://cranlogs.r-pkg.org/badges/dqrng?color=brightgreen)](https://www.r-pkg.org/pkg/dqrng) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2157/badge)](https://bestpractices.coreinfrastructure.org/projects/2157) [![Dependencies](https://tinyverse.netlify.com/badge/dqrng)](https://cran.r-project.org/package=dqrng) +[![dqrng status badge](https://rstub.r-universe.dev/badges/dqrng)](https://rstub.r-universe.dev/dqrng) # dqrng diff --git a/README.md b/README.md index fcc1c94..378ae28 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ status](https://codecov.io/gh/daqana/dqrng/branch/main/graph/badge.svg)](https:/ [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2157/badge)](https://bestpractices.coreinfrastructure.org/projects/2157) [![Dependencies](https://tinyverse.netlify.com/badge/dqrng)](https://cran.r-project.org/package=dqrng) +[![dqrng status +badge](https://rstub.r-universe.dev/badges/dqrng)](https://rstub.r-universe.dev/dqrng) # dqrng diff --git a/inst/include/xoshiro.h b/inst/include/xoshiro.h index debf9ce..4b11a93 100644 --- a/inst/include/xoshiro.h +++ b/inst/include/xoshiro.h @@ -52,7 +52,7 @@ class xoshiro { virtual result_type next() = 0; public: - inline static constexpr result_type min() {return 0.0;}; + inline static constexpr result_type min() {return 0;}; inline static constexpr result_type max() {return UINT64_MAX;}; xoshiro(result_type _seed = 0x85c6ea9eb065ebeeULL) {