diff --git a/src/LNS.cpp b/src/LNS.cpp index d4bad91..997c978 100644 --- a/src/LNS.cpp +++ b/src/LNS.cpp @@ -626,7 +626,7 @@ bool LNS::generateNeighborByRandomWalk() { if (i == idx) { - a = i; + a = n; break; } i++;