Skip to content

Commit e776cef

Browse files
authored
Add files via upload
1 parent 9222905 commit e776cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jArtificialBeeColony.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
% {3} Scout bee phase
126126
for i = 1:N
127-
if limit(i) == max_limit
127+
if limit(i) >= max_limit
128128
for d = 1:dim
129129
% Produce new bee (8)
130130
X(i,d) = lb + (ub - lb) * rand();

0 commit comments

Comments
 (0)