fix grammar in Vec doc

This commit is contained in:
faiface 2017-04-13 15:18:13 +02:00
parent 4abba37aa3
commit 9472b91565
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (u Vec) Len() float64 {
return cmplx.Abs(complex128(u)) return cmplx.Abs(complex128(u))
} }
// Angle returns the angle between the vector u and the x-axis. The result is in the range [-Pi, Pi]. // Angle returns the angle between the vector u and the x-axis. The result is in range [-Pi, Pi].
func (u Vec) Angle() float64 { func (u Vec) Angle() float64 {
return cmplx.Phase(complex128(u)) return cmplx.Phase(complex128(u))
} }