From 357c427f0b34d5dfb6a8b6e4e64d13055ba84482 Mon Sep 17 00:00:00 2001 From: hasufell Date: Thu, 9 Oct 2014 03:15:27 +0200 Subject: [PATCH] Fix haddock comment --- LinearAlgebra/Vector.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinearAlgebra/Vector.hs b/LinearAlgebra/Vector.hs index f4ce09a..8a9e0fe 100644 --- a/LinearAlgebra/Vector.hs +++ b/LinearAlgebra/Vector.hs @@ -20,7 +20,7 @@ inRange (xlD, xuD) (ylD, yuD) p (x, y) = unp2 p --- |Get the angle between two vectors in degrees. +-- |Get the angle between two vectors. getAngle :: Vec -> Vec -> Double getAngle a b = acos . flip (/) (vecLength a * vecLength b) .