diff --git a/README.md b/README.md index 81f83cb..dcc08c8 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ This repo contains a list of utils that will probably need to be implimented for LLO. -* llo::utils::generate_random, generate a random numerical value. +* llo::utils::generate_random_number, generate a random numerical value. ```cpp -template, number_t>> +template, number_t>> number_t generate_random_number(const number_t minimum, const number_t maximum) { using uniform_distribution_t = std::conditional_t, std::uniform_int_distribution, std::uniform_real_distribution<>>; @@ -36,7 +36,7 @@ class T hash_t public: static std::shared_ptr make(const T& data) { - auto hash = std::hash>{}(data, llo::utils::generate_random()); + auto hash = std::hash>{}(data, llo::utils::generate_random_number()); return std::make_shared(data, hash); }