chore: go(de): update wording [skip ci]
This commit is contained in:
parent
86533bdefe
commit
ab004c8308
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user