Skip to content

Commit

Permalink
don't try to anneal infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Dec 29, 2024
1 parent f1a9b8b commit 763b912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void notifyStartup(StartupEvent event) {
@Override
public void notifyIterationStarts(IterationStartsEvent event) {

if (anneal == InformedModeChoiceConfigGroup.Schedule.off || event.getIteration() == 0)
if (anneal == InformedModeChoiceConfigGroup.Schedule.off || event.getIteration() == 0 || currentBeta == Double.POSITIVE_INFINITY)
return;

// anneal target is 0, iterations are offset by 1 because first iteration does not do replanning
Expand Down

0 comments on commit 763b912

Please sign in to comment.