Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Fix for uniform
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Apr 22, 2024
1 parent 5d6df36 commit 074d7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rxthreefry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ NumericVector rxt__(double df, int n, int ncores){

extern "C" double rxunif(rx_solving_options_ind* ind, double low, double hi){
if (!ind->inLhs) return 0.0;
boost::random::uniform_real_distribution<double> d(low, hi);
std::uniform_real_distribution<double> d(low, hi);
return d(_eng[rx_get_thread(op_global.cores)]);
}

Expand Down

0 comments on commit 074d7c6

Please sign in to comment.