mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 05:38:42 +00:00
Remove some restrictions on matrix constructor.
This commit is contained in:
parent
b00e2118bc
commit
6a3372f22f
@ -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…
x
Reference in New Issue
Block a user