From 6a3372f22f4bf3656c5d50180d09458989536829 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 19 Jan 2016 22:00:44 +0200 Subject: [PATCH] Remove some restrictions on matrix constructor. --- src/uxbox/util/matrix.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/uxbox/util/matrix.cljs b/src/uxbox/util/matrix.cljs index be9a0f53f..b9c4157ef 100644 --- a/src/uxbox/util/matrix.cljs +++ b/src/uxbox/util/matrix.cljs @@ -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