fix windows vs unix path insanity
This commit is contained in:
@@ -14,5 +14,5 @@ inline void xorshift64(uint64_t &state) {
|
||||
// returns a random value between -1 and 1. modifies seed
|
||||
inline float norm_rand(uint64_t &state) {
|
||||
xorshift64(state);
|
||||
return (state - half_max) / half_max;
|
||||
return static_cast<float>(state - half_max) / static_cast<float>(half_max);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user