mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02: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."
|
of elements of the collection."
|
||||||
[coll]
|
[coll]
|
||||||
{:pre [(coll? coll)
|
{:pre [(coll? coll)
|
||||||
(coll? (first coll))
|
(coll? (first coll))]}
|
||||||
(= (count coll)
|
|
||||||
(count (first coll)))]}
|
|
||||||
(Matrix. (clj->js coll)))
|
(Matrix. (clj->js coll)))
|
||||||
|
|
||||||
(defn multiply
|
(defn multiply
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue