Menu

Commit [r27512]  Maximize  Restore  History

fail if the "location" is null during subtour analysis

I had problems with this. Fortunately, I had assertions enabled, which
caused a (difficult to interpret) assertion error.
But whithout that, the previous state just lead to silently ignoring this.

Add a test that a meaningful exception is thrown

thibautd 2014-01-20

changed /matsim/trunk/src/main/java/org/matsim/core/router/TripStructureUtils.java
changed /matsim/trunk/src/test/java/org/matsim/core/router/TripStructureUtilsTest.java
/matsim/trunk/src/main/java/org/matsim/core/router/TripStructureUtils.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/test/java/org/matsim/core/router/TripStructureUtilsTest.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB