randomness silly

v1
Brett 2024-07-21 20:28:08 -04:00
parent 27d1b94493
commit 4114de74db
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) include(cmake/color.cmake)
set(BLT_VERSION 0.18.11) set(BLT_VERSION 0.18.12)
set(BLT_TEST_VERSION 0.0.1) set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -71,7 +71,7 @@ namespace blt::random
template<typename T = blt::i32> template<typename T = blt::i32>
static inline T pcg_random32c(blt::u32 seed, T min = 0, T max = 2) static inline T pcg_random32c(blt::u32 seed, T min = 0, T max = 2)
{ {
return pcg_int(seed, min, max); return pcg_random32(seed, min, max);
} }
@ -105,7 +105,7 @@ namespace blt::random
template<typename T = blt::i32> template<typename T = blt::i32>
static inline T murmur_random64c(blt::u64 seed, T min = 0, T max = 2) static inline T murmur_random64c(blt::u64 seed, T min = 0, T max = 2)
{ {
return murmur_integral_64(seed, min, max); return murmur_random64(seed, min, max);
} }
} }