From 596d33f8e19210b0277f915b371cbe32528bc1ee Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Mon, 28 Jul 2025 10:23:08 +0700 Subject: [PATCH] fix typo --- src/calculation_time_constrains/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calculation_time_constrains/service.py b/src/calculation_time_constrains/service.py index 12f9b11..667d10f 100644 --- a/src/calculation_time_constrains/service.py +++ b/src/calculation_time_constrains/service.py @@ -1240,7 +1240,7 @@ class OptimumCostModel: total_costs = total_corrective_costs + total_preventive_costs + total_procurement_costs fleet_optimal_index = np.argmin(total_costs) - calculation.optimum_oh_day = fleet_optimal_index + 1 + calculation.optimum_oh_day = fleet_optimal_index calculation.max_interval = max_interval-1