Skip to content

Commit

Permalink
logic bug
Browse files Browse the repository at this point in the history
  • Loading branch information
robfitzgerald committed Sep 13, 2024
1 parent bce2003 commit 971a88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion us-census-core/src/model/lodes/lodes_dataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,6 @@ fn validate_wac_availability(year: u64, state_code: &StateCode) -> Result<(), St
}
}

fn in_range(min: u64, max: u64, y: u64) -> bool {
fn in_range(y: u64, min: u64, max: u64) -> bool {
min <= y && y <= max
}

0 comments on commit 971a88a

Please sign in to comment.