0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Remove some restrictions on matrix constructor.

This commit is contained in:
Andrey Antukh 2016-01-19 22:00:44 +02:00
parent b00e2118bc
commit 6a3372f22f

View file

@ -26,9 +26,7 @@
of elements of the collection."
[coll]
{:pre [(coll? coll)
(coll? (first coll))
(= (count coll)
(count (first coll)))]}
(coll? (first coll))]}
(Matrix. (clj->js coll)))
(defn multiply