missed one

This commit is contained in:
Antonis Geralis 2022-09-06 00:25:26 +03:00
parent c30af6578b
commit 34f592cbc2
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ proc mutateEnum*(index, itemCount: int; r: var Rand): int =
proc newInput*[T](sizeIncreaseHint: Natural; r: var Rand): T = proc newInput*[T](sizeIncreaseHint: Natural; r: var Rand): T =
## Creates new input with a chance of returning default(T). ## Creates new input with a chance of returning default(T).
mixin default
result = default(T)
runMutator(result, sizeIncreaseHint, false, r) runMutator(result, sizeIncreaseHint, false, r)
proc mutateSeq*[T](value: var seq[T]; previous: seq[T]; userMax, sizeIncreaseHint: int; proc mutateSeq*[T](value: var seq[T]; previous: seq[T]; userMax, sizeIncreaseHint: int;