https://github.com/jmacglashan/burlap/blob/cc3b09de81f33e6bed8154144a3183dee8595e32/src/main/java/burlap/domain/singleagent/blockdude/BlockDudeModel.java#L138 Because `dir` can be +1 and `ax` can be the `map.length - 1`, the agent can try to move outside the bounds of the map array. To reproduce, run this test with getLevel1 or getLevel2 instead of getLevel3: https://github.com/jmacglashan/burlap/blob/cc3b09de81f33e6bed8154144a3183dee8595e32/src/test/java/burlap/testing/TestBlockDude.java#L40
burlap/src/main/java/burlap/domain/singleagent/blockdude/BlockDudeModel.java
Line 138 in cc3b09d
Because
dircan be +1 andaxcan be themap.length - 1, the agent can try to move outside the bounds of the map array.To reproduce, run this test with getLevel1 or getLevel2 instead of getLevel3:
burlap/src/test/java/burlap/testing/TestBlockDude.java
Line 40 in cc3b09d