From 00fdff357a2dfe4faf58e54c112b920f7c830c77 Mon Sep 17 00:00:00 2001 From: itsubaki <1759459+itsubaki@users.noreply.github.com> Date: Sun, 22 Oct 2023 19:30:58 +0900 Subject: [PATCH] Update Matrix --- math/matrix/matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/matrix/matrix.go b/math/matrix/matrix.go index a6dcec2..bd09789 100644 --- a/math/matrix/matrix.go +++ b/math/matrix/matrix.go @@ -99,7 +99,7 @@ func Column(m Matrix, j int) Matrix { } // From returns a matrix from a slice of slice of T. -func From[T int](x [][]T) Matrix { +func From(x [][]int) Matrix { out := Zero(len(x), len(x[0])) for i, r := range x { for j, v := range r {