diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-03-13 21:12:46 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-03-13 21:12:46 +0100 |
commit | d99ab35f9e886a014be6d47606d232af1e668f76 (patch) | |
tree | 5c6e647b2847104aa4cfba7765a5663dce569b84 /Eigen/src/Core/DenseStorage.h | |
parent | 8580eb6808428a53d5fb91be23fb5c6c8c9e9463 (diff) |
Fix internal::random(x,y) for integer types. The previous implementation could return y+1. The new implementation uses rejection sampling to get an unbiased behabior.
Diffstat (limited to 'Eigen/src/Core/DenseStorage.h')
0 files changed, 0 insertions, 0 deletions