Skip to content

Commit

Permalink
made random generator inline
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilger26 committed Sep 26, 2024
1 parent 7c70669 commit 684dcd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/markdown/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

## Version 2.13.0

* added `putAlongAxis()` for **Issue #217** <https://numpy.org/doc/stable/reference/generated/numpy.put_along_axis.html>
* fixed random seeding for **Issue #218**

## Version 2.12.1

* updated TRUE/FALSE enum fields to YES/NO to deconflict with other libraries terrible macro practice of #defining TRUE/FALSE

## Version 2.12.0

* added `searchsorted()` for **Issue #202** <https://numpy.org/doc/stable/reference/generated/numpy.searchsorted.html>
* added `searchsorted()` for **Issue #202** <https://numpy.org/doc/stable/reference/generated/numpy.searchsorted.html>
* added `meanFilter` to `Filters`
* added `complementaryMeanFilter` to `Filters`

Expand Down
2 changes: 1 addition & 1 deletion include/NumCpp/Random/generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
namespace nc::random
{
/// generator function
static std::mt19937_64 generator_;
inline std::mt19937_64 generator_;

//============================================================================
// Method Description:
Expand Down

0 comments on commit 684dcd7

Please sign in to comment.