eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.47k stars 1.4k forks source link

assertion in intermodal simulation #14524

Closed namdre closed 5 months ago

namdre commented 5 months ago

/src/utils/router/IntermodalEdge.h:198: void IntermodalEdge<E, L, N, V>::setLength(double) [with E = MSEdge; L = MSLane; N = MSJunction; V = SUMOVehicle]: Assertion `length >= 0' failed.

(n the sbahn-demo)

namdre commented 5 months ago

violation is due to numerical instability: 4.9999999999999991 - 5.0000000000000009 < 0