Skip to content

Commit

Permalink
Corrected return type for drag_coeff_function field
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhtar committed Sep 23, 2024
1 parent df40d23 commit 9197e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/altrios/train_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TrainPlannerConfig:
refuelers_per_incoming_corridor: int = 4
require_diesel: bool = False
manifest_empty_return_ratio: float = 0.6
drag_coeff_function: List = field(default_factory = lambda: None)
drag_coeff_function: Callable = None
hp_required_per_ton: Dict = field(default_factory = lambda: {
"Default": {
"Unit": 2.0,
Expand Down

0 comments on commit 9197e89

Please sign in to comment.