Permalink
Browse files

removed the unused matrix init fn

  • Loading branch information...
1 parent a30d7b4 commit a6f745cdcbe684b517c75b81a1fdc144a6b4772d Robert Campbell committed Dec 11, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/aichallenge/collisions.clj
@@ -2,10 +2,6 @@
(:use [clojure.set :only (difference)])
(:require [aichallenge.ant :as ant]))
-(defn init-matrix [x y]
- (letfn [(row [] (vec (take x (repeat 0))))]
- (vec (repeatedly y row))))
-
(defn collisions [moves]
(reduce (fn [accum move]
(let [next-loc (apply ant/move-ant move)]

0 comments on commit a6f745c

Please sign in to comment.