We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 590b93a commit 3210643Copy full SHA for 3210643
core/src/main/kotlin/fr/sncf/osrd/stdcm/graph/PostProcessingSimulation.kt
@@ -453,6 +453,7 @@ private fun runSimulationWithFixedPoints(
453
comfort: Comfort?,
454
): List<Envelope> {
455
require(envelopes.size == rollingStocks.size)
456
+ require(envelopes.none { it.beginSpeed != 0.0 })
457
val finalEnvelopes = mutableListOf<Envelope>()
458
var currentOffset = 0.meters
459
var currentTime = 0.0
0 commit comments