mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 20:14:32 +00:00 
			
		
		
		
	update rng number algo
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user