Skip to content

Commit e96ba22

Browse files
committed
fixup! core: editoast: add last stop in standalone simulation
1 parent 088eda1 commit e96ba22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editoast/src/views/timetable/simulation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ impl From<simulation::Response> for SummaryResponse {
167167
let report = final_output.report_train;
168168
Self::Success {
169169
length: *report.positions.last().unwrap(),
170-
time: *report.times.last().unwrap(),
170+
time: *report.path_item_times.last().unwrap(),
171171
energy_consumption: report.energy_consumption,
172172
path_item_times_final: report.path_item_times.clone(),
173173
path_item_times_provisional: provisional.path_item_times.clone(),

0 commit comments

Comments
 (0)