Add hard-coded trauncate flag.

This commit is contained in:
Gerhard Hoffmann 2024-09-30 16:51:02 +02:00
parent e3bbca86d5
commit bcbe95d483

View File

@ -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) {