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:
parent
5bd091a2bf
commit
1e5d1fd195
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue