diff --git a/Include/Aurora/RNG/IRandomDevice.hpp b/Include/Aurora/RNG/IRandomDevice.hpp index 73200c9c..d1b62939 100644 --- a/Include/Aurora/RNG/IRandomDevice.hpp +++ b/Include/Aurora/RNG/IRandomDevice.hpp @@ -149,7 +149,7 @@ namespace Aurora::RNG AU_DEBUG_MEMCRUNCH; auto uCount = std::distance(begin, end); - auto nextIndexArray = this->NextArrayU32Range(uCount, 0, uCount - 1); + auto nextIndexArray = this->NextArrayU32RangeFast(uCount, 0, uCount - 1); for (AU_ITERATE_N(i, AuUInt(uCount))) { diff --git a/Include/Aurora/RNG/RNG.hpp b/Include/Aurora/RNG/RNG.hpp index 06e2259b..91725857 100644 --- a/Include/Aurora/RNG/RNG.hpp +++ b/Include/Aurora/RNG/RNG.hpp @@ -177,7 +177,7 @@ namespace Aurora::RNG AU_DEBUG_MEMCRUNCH; auto uCount = std::distance(begin, end); - auto nextIndexArray = RngArrayU32Range(uCount, 0, uCount - 1); + auto nextIndexArray = RngArrayU32RangeFast(uCount, 0, uCount - 1); for (AU_ITERATE_N(i, AuUInt(uCount))) {