diff options
| author | Mikolaj Konarski <mikolaj.konarski@funktory.com> | 2025-12-20 12:09:56 +0100 |
|---|---|---|
| committer | Mikolaj Konarski <mikolaj.konarski@funktory.com> | 2026-01-31 13:45:30 +0100 |
| commit | 93e638b9fdf46cffb106ac6f647756bf693245e7 (patch) | |
| tree | 26838ecdb7e19d983bbdf97d886f953d07d03a8e /src/Data/Array/Nested/Mixed | |
| parent | 92b83a159fd1806446ac2d8217ea342d7b83fd3e (diff) | |
Add a potentialy helpful bang for consistency
Diffstat (limited to 'src/Data/Array/Nested/Mixed')
| -rw-r--r-- | src/Data/Array/Nested/Mixed/Shape.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Array/Nested/Mixed/Shape.hs b/src/Data/Array/Nested/Mixed/Shape.hs index 6846a8b..77256ab 100644 --- a/src/Data/Array/Nested/Mixed/Shape.hs +++ b/src/Data/Array/Nested/Mixed/Shape.hs @@ -292,7 +292,7 @@ ixxToLinear :: Num i => IShX sh -> IxX sh i -> i ixxToLinear = \sh i -> go sh i 0 where go :: Num i => IShX sh -> IxX sh i -> i -> i - go ZSX ZIX a = a + go ZSX ZIX !a = a go (n :$% sh) (i :.% ix) a = go sh ix (fromIntegral (fromSMayNat' n) * a + i) |
