Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pathway::stair_count can be negative #145

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
description = "Read GTFS (public transit timetables) files"
name = "gtfs-structures"
version = "0.35.0"
version = "0.36.0"
authors = ["Tristram Gräbener <[email protected]>", "Antoine Desbordes <[email protected]>"]
repository = "https://github.com/rust-transit/gtfs-structure"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ pub struct RawPathway {
/// Average time in seconds needed to walk through the pathway from the origin location to the destination location
pub traversal_time: Option<u32>,
/// Number of stairs of the pathway
pub stair_count: Option<u32>,
pub stair_count: Option<i32>,
/// Maximum slope ratio of the pathway
pub max_slope: Option<f32>,
/// Minimum width of the pathway in meters
Expand All @@ -773,7 +773,7 @@ pub struct Pathway {
/// Average time in seconds needed to walk through the pathway from the origin location to the destination location
pub traversal_time: Option<u32>,
/// Number of stairs of the pathway
pub stair_count: Option<u32>,
pub stair_count: Option<i32>,
/// Maximum slope ratio of the pathway
pub max_slope: Option<f32>,
/// Minimum width of the pathway in meters
Expand Down
Loading