Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The bag index implementation for moveTo(fs) sets an invalid iterator position when the new PositiveIntSet impl is being used. moveTo(fs) doesn't really have a good meaning for bag indexes, since there's no "key" to use in comparing. But the current impl does a "reasonable" thing of a) moving to the == identical FS if it exists in the index, or (it tries to ) move to the first one. Change the impl to actually moveToFirst() if not found, so it works also with the PositiveIntSet impl.