Skip to content
  • Alexandre Duret-Lutz's avatar
    random: fix rounding in barand() · a75a9c09
    Alexandre Duret-Lutz authored
    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.
    a75a9c09