Skip to content
This repository
Browse code

Merge pull request #38 from fuziontech/perf

Fix distributor doc and example
  • Loading branch information...
commit c166698c1882dee1f5f3c023c3cc06ed5d0966ec 2 parents 060f700 + 0f0681d
Zach Tellman authored May 22, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/lamina/core/channel.clj
4  src/lamina/core/channel.clj
@@ -368,9 +368,9 @@
368 368
    types:
369 369
 
370 370
    (distributor :type
371  
-     (fn [ch facet]
  371
+     (fn [facet ch]
372 372
        (siphon
373  
-         (->> ch (map* :value) average)
  373
+         (->> ch (map* :value) mean)
374 374
          (sink #(println \"average for\" facet \"is\" %)))))"
375 375
   [facet channel-initializer]
376 376
   (let [receiver (g/node identity)

0 notes on commit c166698

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