diff options
author | Mikolaj Konarski <mikolaj.konarski@funktory.com> | 2025-05-13 17:30:44 +0200 |
---|---|---|
committer | Mikolaj Konarski <mikolaj.konarski@funktory.com> | 2025-05-13 17:30:44 +0200 |
commit | 0c993d875a7cb9bace8aea1ef6def200de6b7d51 (patch) | |
tree | 75e9a8c925a5bb4523d95f7f7e4a9794446b42a1 /test/Util.hs | |
parent | ca78d92aa55e9ba8ad179ef42515e4e7b2b8155a (diff) |
Fix some of the warnings GHC 9.12.2 now produces
Diffstat (limited to 'test/Util.hs')
-rw-r--r-- | test/Util.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Util.hs b/test/Util.hs index 7c06b2f..34cf8ab 100644 --- a/test/Util.hs +++ b/test/Util.hs @@ -42,7 +42,7 @@ class AlmostEq f where almostEq :: (AlmostEqConstr f a, Ord a, Show a, Fractional a, MonadTest m) => a -> f a -> f a -> m () -instance KnownNat n => AlmostEq (OR.Array n) where +instance AlmostEq (OR.Array n) where type AlmostEqConstr (OR.Array n) = OR.Unbox almostEq atol lhs rhs | OR.allA (< atol) (OR.zipWithA (\a b -> abs (a - b)) rhs lhs) = |