diff --git a/src/propeller/problems/software/number_io.cljc b/src/propeller/problems/software/number_io.cljc index 698feaf..cf8819b 100755 --- a/src/propeller/problems/software/number_io.cljc +++ b/src/propeller/problems/software/number_io.cljc @@ -37,7 +37,7 @@ (defn random-float [] (- (* (rand) 200) 100.0)) ; Random integer between -100 and 100 -(defn random-int [] (- (rand-int 201) 100.0)) +(defn random-int [] (- (rand-int 201) 100)) (def instructions (utils/not-lazy diff --git a/src/propeller/problems/software/smallest.cljc b/src/propeller/problems/software/smallest.cljc index e77c615..915043e 100755 --- a/src/propeller/problems/software/smallest.cljc +++ b/src/propeller/problems/software/smallest.cljc @@ -38,7 +38,7 @@ ;; ============================================================================= ; Random integer between -100 and 100 -(defn random-int [] (- (rand-int 201) 100.0)) +(defn random-int [] (- (rand-int 201) 100)) (def instructions (utils/not-lazy