random: fix rounding in barand()
This fixes #85. * src/misc/random.hh (barand): Use round() before casting. * doc/org/oaut.org: Recompute example. * src/tests/randaut.test, wrap/python/tests/randaut.ipynb: Adjust.
This commit is contained in:
parent
eabed370bf
commit
a75a9c091c
4 changed files with 2073 additions and 1800 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue