From 020a1c5f727b83844cde83164b2db8919f35c772 Mon Sep 17 00:00:00 2001 From: Spencer Lyon Date: Sat, 30 Sep 2017 23:59:08 -0400 Subject: [PATCH] mat: fix Row doc comment --- mat/matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mat/matrix.go b/mat/matrix.go index cc3648a8..1a0feede 100644 --- a/mat/matrix.go +++ b/mat/matrix.go @@ -238,7 +238,7 @@ func Col(dst []float64, j int, a Matrix) []float64 { return dst } -// Row copies the elements in the jth column of the matrix into the slice dst. +// Row copies the elements in the ith row of the matrix into the slice dst. // The length of the provided slice must equal the number of columns, unless the // slice is nil in which case a new slice is first allocated. func Row(dst []float64, i int, a Matrix) []float64 {