Skip to content

Commit

Permalink
Bump version and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rstub committed May 16, 2024
1 parent fd688fb commit deaf3c6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0009-0009-1908-106X")),
person("daqana GmbH", role = "cph"),
Expand All @@ -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, <doi:10.1145/2063384.2063405>) 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, <doi:10.1145/2063384.2063405>)
as provided by the package 'sitmo'.
License: AGPL-3
Depends: R (>= 3.5.0)
Imports: Rcpp (>= 0.12.16)
Expand Down
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion inst/include/xoshiro.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit deaf3c6

Please sign in to comment.