aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Mixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Array/Mixed')
-rw-r--r--src/Data/Array/Mixed/XArray.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Array/Mixed/XArray.hs b/src/Data/Array/Mixed/XArray.hs
index cc0a6a5..e93ffca 100644
--- a/src/Data/Array/Mixed/XArray.hs
+++ b/src/Data/Array/Mixed/XArray.hs
@@ -39,7 +39,7 @@ newtype XArray sh a = XArray (S.Array (Rank sh) a)
deriving (Show, Eq, Generic)
-- | Only on scalars, because lexicographical ordering is strange on multi-dimensional arrays.
-deriving instance (Ord a, Storable a) => Ord (XArray '[] a)
+deriving instance (Ord a, Storable a) => Ord (XArray sh a)
instance NFData a => NFData (XArray sh a)