Skip to content

Commit

Permalink
minor perf
Browse files Browse the repository at this point in the history
  • Loading branch information
floybix committed Oct 6, 2015
1 parent e3202e0 commit c57f627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/nfrac/comportex/cells.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@
(if (zero? distal-weight)
(into {} basic-exc)
(let [basic-exc (if spontaneous-activation?
(merge (zipmap (keys distal-exc) (repeat 0.0))
(into {} basic-exc))
(into (zipmap (keys distal-exc) (repeat 0.0))
basic-exc)
basic-exc)]
;; add distal values
(persistent!
Expand Down

0 comments on commit c57f627

Please # to comment.