From 4d7aac5d5a2717488fe73ed3129b9b20a703cd31 Mon Sep 17 00:00:00 2001 From: Jeff Newman Date: Mon, 13 Nov 2023 14:29:19 -0600 Subject: [PATCH] prefer float values so fractions are not swallowed --- activitysim/abm/models/disaggregate_accessibility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activitysim/abm/models/disaggregate_accessibility.py b/activitysim/abm/models/disaggregate_accessibility.py index 72e5ceebd..17190fb91 100644 --- a/activitysim/abm/models/disaggregate_accessibility.py +++ b/activitysim/abm/models/disaggregate_accessibility.py @@ -50,8 +50,8 @@ class DisaggregateAccessibilityAnnotateSettings(PydanticReadable, extra="forbid" class DisaggregateAccessibilitySettings(PydanticReadable, extra="forbid"): suffixes: DisaggregateAccessibilitySuffixes = DisaggregateAccessibilitySuffixes() - ORIGIN_SAMPLE_SIZE: int | float = 0 - DESTINATION_SAMPLE_SIZE: int | float = 0 + ORIGIN_SAMPLE_SIZE: float | int = 0 + DESTINATION_SAMPLE_SIZE: float | int = 0 BASE_RANDOM_SEED: int = 0 add_size_tables: bool = True zone_id_names: dict[str, str] = {"index_col": "zone_id"}