Skip to content

Commit

Permalink
Merge pull request #1586 from NASA-AMMOS/fix-analyze-mode
Browse files Browse the repository at this point in the history
Fix analysis mode of scheduling engine
  • Loading branch information
mattdailis authored Nov 1, 2024
2 parents 524474c + 51562f6 commit 8118519
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ private void satisfyGoalGeneral(Goal goal) throws SchedulingInterruptedException
assert missing != null;
logger.info("Processing conflict " + (++i));
logger.info(missing.toString());
//determine the best activities to satisfy the conflict
ConflictSolverResult conflictSolverReturn = null;
//initialize conflict result to unsatisfied + no activities created
var conflictSolverReturn = new ConflictSolverResult();
if (!analysisOnly && (missing instanceof MissingActivityInstanceConflict missingActivityInstanceConflict)) {
conflictSolverReturn = solveActivityInstanceConflict(missingActivityInstanceConflict, goal);
} else if (!analysisOnly && (missing instanceof MissingActivityTemplateConflict missingActivityTemplateConflict)) {
Expand Down

0 comments on commit 8118519

Please sign in to comment.