From 4114de74dbb46b6e8f9663e63c430e31ca2f9b00 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Sun, 21 Jul 2024 20:28:08 -0400 Subject: [PATCH] randomness silly --- CMakeLists.txt | 2 +- include/blt/std/random.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c9653c..2506a14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) 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_TARGET BLT) diff --git a/include/blt/std/random.h b/include/blt/std/random.h index 41ab5a5..5b810b4 100644 --- a/include/blt/std/random.h +++ b/include/blt/std/random.h @@ -71,7 +71,7 @@ namespace blt::random template 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 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); } }