You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When searching for the index and an element is found, the start index of the used ArrayProxy must be subtracted:
// In org.jenetics.internal.collection.ArrayProxyList class.for (inti = proxy.start; i < proxy.end && index == -1; ++i) {
if (element.equals(proxy.__get__(i))) {
// Subtract the start index of the used proxy: // index = i - proxy.start;index = i;
}
}
The text was updated successfully, but these errors were encountered:
When searching for the index and an element is found, the start index of the used
ArrayProxy
must be subtracted:The text was updated successfully, but these errors were encountered: