1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 22:07:05 +01:00

update rng number algo

This commit is contained in:
Luchang Jin
2016-10-16 17:38:35 -04:00
parent c39ec3b607
commit 89cda5971a

View File

@ -514,7 +514,7 @@ inline void splitRngState(RngState& rs, const RngState& rs0, const std::string&
inline void computeHashWithInput(uint32_t hash[8], const RngState& rs, const std::string& input)
{
sha256::processInput(hash, rs.hash, rs.numBytes, (const uint8_t*)input.c_str(), input.length() + 1);
sha256::processInput(hash, rs.hash, rs.numBytes, (const uint8_t*)input.c_str(), input.length());
}
inline uint64_t randGen(RngState& rs)