Skip to content

Commit

Permalink
Merge pull request #3214 from matsim-org/otfvis
Browse files Browse the repository at this point in the history
otfvis for kinematic waves: change a >= to a > to reduce warnings
  • Loading branch information
kainagel authored Apr 14, 2024
2 parents 376776c + 0871579 commit e05b667
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public final Collection<AgentSnapshotInfo> positionVehiclesAlongLine(Collection<
final double spaceAvailableForHoles = distanceOfHoleFromFromNode - firstHolePosition;
if ( wrnCnt < 10 ) {
wrnCnt++ ;
if ( spaceConsumptionOfHoles >= spaceAvailableForHoles ) {
if ( spaceConsumptionOfHoles > spaceAvailableForHoles ) {
log.warn("we have a problem: holes consume too much space:" ) ;
log.warn( "summed up space consumption of holes: " + spaceConsumptionOfHoles );
log.warn("distance bw first and last hole: " + spaceAvailableForHoles ) ;
Expand Down

0 comments on commit e05b667

Please sign in to comment.