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:
parent
b00e2118bc
commit
6a3372f22f
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue