We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fbdd7e commit c73e4cdCopy full SHA for c73e4cd
src/Codec/CBOR/Cuddle/CBOR/Gen.hs
@@ -368,7 +368,7 @@ applyOccurenceIndicator OIZeroOrMore oldGen =
368
genUniformRM (0 :: Int, 10) >>= \i ->
369
G <$> replicateM i oldGen
370
applyOccurenceIndicator OIOneOrMore oldGen =
371
- genUniformRM (0 :: Int, 10) >>= \i ->
+ genUniformRM (1 :: Int, 10) >>= \i ->
372
373
applyOccurenceIndicator (OIBounded mlb mub) oldGen =
374
genUniformRM (fromMaybe 0 mlb :: Word64, fromMaybe 10 mub)
0 commit comments