Skip to content

Commit

Permalink
Additional comments from acron
Browse files Browse the repository at this point in the history
  • Loading branch information
seb231 committed Apr 9, 2018
1 parent 08ca65f commit a97da30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/clj/witan/send/send.clj
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@
:mover-state-alphas (p/alpha-params-movers valid-states valid-transitions transition-matrix)}))))

(defn build-states-to-change [input valid-needs valid-settings ages years transition-type]
(let [to-maps (->> input
ds/row-maps)
(let [to-maps (ds/row-maps input)
settings-to-change (if (= :nil (-> to-maps
first
:setting-2))
Expand All @@ -294,7 +293,6 @@
(vector (generate-transition-key (merge keys {:setting (first setting-to-change)}))
(generate-transition-key (merge keys {:setting (second setting-to-change)}))))))
settings-to-change)) valid-settings)) valid-needs)) ages)) years)
vec
(remove #(nil? (first %)))
distinct)))

Expand Down

0 comments on commit a97da30

Please sign in to comment.