Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
mat64: fix comment and code spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed May 5, 2015
1 parent 4c17112 commit 07e0026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mat64/vector.go
Expand Up @@ -174,11 +174,11 @@ func (v *Vector) DivElemVec(a, b *Vector) {
}

// MulVec computes a * b if trans == false and a^T * b if trans == true. The
// result is stored into the reciever. MulVec panics if the number of columns in
// result is stored into the receiver. MulVec panics if the number of columns in
// a does not equal the number of rows in b.
func (m *Vector) MulVec(a Matrix, trans bool, b *Vector) {
ar, ac := a.Dims()
br, _ := b.Dims()
br := b.Len()
if trans {
if ar != br {
panic(ErrShape)
Expand Down

0 comments on commit 07e0026

Please sign in to comment.