Skip to content
Browse files

fix bug in freq. demo

  • Loading branch information...
1 parent 79af51e commit 9ce34f76c6259d18341fe0b7e5a216543a480738 @alandipert alandipert committed Mar 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cljs/tailrecursion/javelin-demos/frequencies.cljs
View
2 src/cljs/tailrecursion/javelin-demos/frequencies.cljs
@@ -80,7 +80,7 @@
;; add random numbers to stem cell
((fn self []
- (swap! freqs update-in [(rand-int @rand-max)] (fnil inc 1))
+ (swap! freqs update-in [(rand-int @rand-max)] (fnil inc 0))
(.setTimeout js/window self @interval)))
;; display

0 comments on commit 9ce34f7

Please sign in to comment.
Something went wrong with that request. Please try again.