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.
2 parents c75bbf1 + 4131e01 commit a1303e3Copy full SHA for a1303e3
algorithms/Searching/random_search.m
@@ -16,7 +16,7 @@
16
ObjFun=@(x) sum(x.^2);
17
for i=1:numIter
18
candidate=10*rand(dim,popsize)-5;
19
- best,=min(feval(ObjFun,candidate));
+ best=min(feval(ObjFun,candidate));
20
if best <= ftarget
21
break;
22
end
0 commit comments