Skip to content

Commit

Permalink
Correct closure duration logging for future closures
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikunterwegs committed Dec 13, 2024
1 parent 3afdd43 commit e109e87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/daedalus_rtm.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ daedalus_rtm <- function(country,
# how costs evolve over time
if (time_end < response_time_start) {
response_time_start <- 0
response_time_end <- 0

Check warning on line 152 in R/daedalus_rtm.R

View check run for this annotation

Codecov / codecov/patch

R/daedalus_rtm.R#L151-L152

Added lines #L151 - L152 were not covered by tests
}
if (time_end < response_time_end) {
response_time_end <- time_end

Check warning on line 155 in R/daedalus_rtm.R

View check run for this annotation

Codecov / codecov/patch

R/daedalus_rtm.R#L155

Added line #L155 was not covered by tests
Expand Down

0 comments on commit e109e87

Please sign in to comment.