Bug with Event Comparator. Converting longs to int would cause events to be inserted in wrong order due to wrapping values. Fixed by using compareTo method of Long class
Bug with Event Comparator. Converting longs to int would cause events to be inserted in wrong order due to wrapping values.
Fixed by using compareTo method of Long class. Example of a buggy simulation time is SimTime.weeks(5) or any other that exceeds the max value of an int.
Merge branch 'development' into fix-time-comparator
Merge pull request #1 from derekhawker/development

Development