chore: go(de): update wording [skip ci]

This commit is contained in:
leo 2023-01-19 20:36:03 +01:00
parent 86533bdefe
commit ab004c8308
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -77,7 +77,7 @@ func (j *JDE) Init(generations, mutStrategy, adptScheme, np int, f, cr float64,
jDELogger.Fatalln("Parameter self-adaptation scheme needs to be from the interval <0; 1>, got", adptScheme) jDELogger.Fatalln("Parameter self-adaptation scheme needs to be from the interval <0; 1>, got", adptScheme)
case np < jDEMinNP: case np < jDEMinNP:
jDELogger.Fatalf("NP needs to be greater than %d, got: %d\n.", jDEMinNP, np) jDELogger.Fatalf("NP cannot be less than %d, got: %d\n.", jDEMinNP, np)
case f < fMin || f > fMax: case f < fMin || f > fMax:
jDELogger.Fatalf("F needs to be from the interval <%f;%f>, got: %f\n.", fMin, fMax, f) jDELogger.Fatalf("F needs to be from the interval <%f;%f>, got: %f\n.", fMin, fMax, f)