summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-12-18 16:51:16 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-12-18 16:51:16 +0100
commit360d8e95f1b3c3891c993cefbc96c1a9370b885f (patch)
treef5d4a283a4f086606b480327c7167eb524dae56a
parent7bb68f4ac6d538bab339395cf89a4f292ae0ff9a (diff)
simulation: real random in 2s period
-rw-r--r--simulation.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation.scm b/simulation.scm
index 4ce8fc0..417bde2 100644
--- a/simulation.scm
+++ b/simulation.scm
@@ -84,7 +84,7 @@
(thunk device-thunk))
(define (rand-time)
- (random 2))
+ (random 2.))
(define (make-class-a id initial-channel upstream-chn downstream-chn)
;; Make all atomic