Changed the typeclass that NVec depends on
[advent-of-code-19.git] / advent12 / src / advent12.hs
index 043e8d096ce7378bff43d3c66d23a4ff1682e835..ac61359be7a29617c50f1377839d67a5c267553a 100644 (file)
@@ -12,7 +12,7 @@ import Linear (V3(..), V1(..), (^+^), (^-^))
 
 import qualified Data.Vector as V
 
-class (Ord a) => NVec a where
+class (Eq a) => NVec a where
     (^+^^) :: a -> a -> a
     (^-^^) :: a -> a -> a
     nvZero :: a