Change from concat to into, to ensure vector

Since pomegranate mentions that it likes vectors as inputs to its
functions, this commit changes the normalization function to use
`into` instead of `concat`, to make sure that we get a vector instead
of a sequence.
This commit is contained in:
Chris Price 2016-09-18 10:19:53 -07:00
parent 5bd091a2bf
commit 1e5d1fd195

View file

@ -548,7 +548,7 @@
;; it's important to preserve the metadata, because it is used for ;; it's important to preserve the metadata, because it is used for
;; profile merging, etc. ;; profile merging, etc.
(with-meta (with-meta
(concat [id version] opts) (into [id version] opts)
(meta dep))))) (meta dep)))))
(defn normalize-dep-vectors (defn normalize-dep-vectors