Mercurial > cortex
diff org/self_organizing_touch.clj @ 412:cc9957241076
fix laziness error.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 19 Mar 2014 13:21:49 -0400 |
parents | a331d5ff73e0 |
children | 5205535237fb |
line wrap: on
line diff
1.1 --- a/org/self_organizing_touch.clj Tue Mar 18 23:04:48 2014 -0400 1.2 +++ b/org/self_organizing_touch.clj Wed Mar 19 13:21:49 2014 -0400 1.3 @@ -105,7 +105,7 @@ 1.4 data 1.5 [[(vec (keys touched-region)) (vec (vals touched-region))]] 1.6 touch-display (view-touch)] 1.7 - (repeatedly 5 #(touch-display data)) data)) 1.8 + (dorun (repeatedly 5 #(touch-display data))))) 1.9 1.10 (defn learn-touch-regions [] 1.11 (let [experiences (atom [])