From bcbe95d483e4ca618def3f5f3deff6a0c47474bb Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Mon, 30 Sep 2024 16:51:02 +0200 Subject: [PATCH] Add hard-coded trauncate flag. --- library/src/calculator_functions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/src/calculator_functions.cpp b/library/src/calculator_functions.cpp index 7b9fa65..a897f1d 100644 --- a/library/src/calculator_functions.cpp +++ b/library/src/calculator_functions.cpp @@ -328,6 +328,8 @@ Calculator::ComputeDurationFromCost(Configuration *cfg, qCritical() << __func__ << ":" << __LINE__ << "nettoParktimeForCost" << nettoParktimeForCost; bool startDateNotOutOfService = false; + bool truncate = true; // TODO + // Calculator::GetInstance().setTimeLimitReached(false); int cnt = 0; while (++cnt < 10 && netto_parking_time_in_minutes < nettoParktimeForCost) {