From f09009c7906c91cc0ce3e7ceeda18ed21b1b3389 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Tue, 31 Oct 2023 17:04:27 -0700 Subject: [PATCH] Update examples/Cpp/ReflexGame/src/ReflexGame.lf Co-authored-by: Edward A. Lee --- examples/Cpp/ReflexGame/src/ReflexGame.lf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Cpp/ReflexGame/src/ReflexGame.lf b/examples/Cpp/ReflexGame/src/ReflexGame.lf index 8d16bb90..88ca6af0 100644 --- a/examples/Cpp/ReflexGame/src/ReflexGame.lf +++ b/examples/Cpp/ReflexGame/src/ReflexGame.lf @@ -18,7 +18,7 @@ reactor RandomDelay(min_delay: time(2 sec), max_delay: time(8 sec)) { output out: void logical action delay(min_delay): void - // a random number generator seeded with the current physiceal time + // a random number generator seeded with the current physical time state rand: std::mt19937({= get_physical_time().time_since_epoch().count() =}) // a uniform random distribution with a range from 1 to (max_delay - min_delay) milliseconds state dist: std::uniform_int_distribution(