From cee1a66a5019e50a7c350158c82f998d6c39ba7e Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Tue, 18 Apr 2017 23:53:29 -0700 Subject: [PATCH] cow -> col --- matrix/matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/matrix.go b/matrix/matrix.go index 5fa857b..2bb4ba4 100644 --- a/matrix/matrix.go +++ b/matrix/matrix.go @@ -126,7 +126,7 @@ func (m *Matrix) WithEpsilon(epsilon float64) *Matrix { // Each applies the action to each element of the matrix in // rows => cols order. -func (m *Matrix) Each(action func(row, cow int, value float64)) { +func (m *Matrix) Each(action func(row, col int, value float64)) { rows, cols := m.Size() for row := 0; row < rows; row++ { for col := 0; col < cols; col++ {