From 53a5de92dd8d61889b771fa0f82336fc48abf8af Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 17 Jun 2022 21:41:54 +0200 Subject: [PATCH] go(randomSearch): iterate with j^wi --- algo/randomSearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algo/randomSearch.go b/algo/randomSearch.go index 275c86b..9c7095e 100644 --- a/algo/randomSearch.go +++ b/algo/randomSearch.go @@ -94,7 +94,7 @@ func RandomSearch(fes uint) { minIters := 30 for _, dimens := range bench.Dimensions { - for j := 0; j < minIters; j++ { + for i := 0; i < minIters; i++ { // run Schwefel. v, r := singleRandomSearch( dimens,