Skip to content

Commit

Permalink
Update Matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
itsubaki committed Oct 22, 2023
1 parent 5b0d796 commit 00fdff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/matrix/matrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 00fdff3

Please sign in to comment.