Commit a14bdd06 authored by Daniel Le Berre's avatar Daniel Le Berre

Fixed issue in remove method.

git-svn-id: svn+ssh://svn.forge.ow2.org/svnroot/sat4j/maven/trunk@874 ba638df5-4473-46d1-82f8-c3ae2a17a6e1
parent 7795bc53
......@@ -444,7 +444,7 @@ public final class VecInt implements IVecInt {
for (; myarray[j] != elem; j++) {
assert j < size();
}
System.arraycopy(myarray, j + 1, myarray, j, size() - j);
System.arraycopy(myarray, j + 1, myarray, j, size() - j - 1);
pop();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment