From bbba80ce7e6bc59d925cfc104b0d441797aafca5 Mon Sep 17 00:00:00 2001 From: Cody Hansen Date: Wed, 2 Aug 2023 07:30:25 -1000 Subject: [PATCH] Accidentaly removed this, putting it back --- .../java/gov/nasa/jpl/aerie/scheduler/goals/CardinalityGoal.java | 1 + 1 file changed, 1 insertion(+) diff --git a/scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/goals/CardinalityGoal.java b/scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/goals/CardinalityGoal.java index fe8cec9f10..1dd01c4cfc 100644 --- a/scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/goals/CardinalityGoal.java +++ b/scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/goals/CardinalityGoal.java @@ -161,6 +161,7 @@ else if (this.initiallyEvaluatedTemporalContext == null) { if (total.compareTo(this.durationRange.start) < 0) { durToSchedule = this.durationRange.start.minus(total); } else if (total.compareTo(this.durationRange.end) > 0) { + logger.warn( "Need to decrease duration of activities from the plan, impossible because scheduler cannot remove activities"); return List.of(new UnsatisfiableGoalConflict( this,