diff --git a/CMakeLists.txt b/CMakeLists.txt index 13eba39..767cda6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.19.3) +set(BLT_VERSION 0.19.4) 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 56f2870..1e33e66 100644 --- a/include/blt/std/random.h +++ b/include/blt/std/random.h @@ -208,7 +208,7 @@ namespace blt::random constexpr result_type operator()() { - return get_u64(min(), max()); + return get_u64(min(), max() + 1); } private: