LucasPickering / Puzzleopolis

A jigsaw puzzle-solving algorithm.
0 stars 0 forks source link

IndexOutOfBoundsExceptions in SimplePieceListTest #2

Closed ThoseGrapefruits closed 9 years ago

ThoseGrapefruits commented 9 years ago

Looks like line 84 in SimplePieceList

pieceLists[i].add(destination < 0 ? 1 - destination : destination, p);

is causing it.

SimplePieceListError.txt