Fix out-of-range integer literals for threefry
authorErik Lindahl <erik@kth.se>
Sat, 6 Jun 2015 11:06:42 +0000 (13:06 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 7 Jun 2015 04:49:42 +0000 (06:49 +0200)
commitd47c56bf06053ded59cfe3e6bde0e2847ff8ba02
treea800b20c03eb5f866b8d391ea287288517b994ba
parentda67fb7a605f59037552beaf084b4f8163af21de
Fix out-of-range integer literals for threefry

The 64-bit literals need to have LL suffixes, or
xlc will warn about out-of-range literals and generate
code that fails the unit test. There was also a
single 64-bit literal in the implementation. Other
compilers appear to have handled this correctly,
so it is unlikely to have caused any user bug.

Refs #1725.

Change-Id: I575b6c12ace14973d4fae1edc81836686a2ff9d5
src/gromacs/random/random.cpp
src/gromacs/random/tests/random.cpp