Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#444 closed defect (done)

TournamentSelector throws NullPointerException when all solutions of a group have quality of positive or negative infinity

Reported by: gkronber Owned by: gkronber
Priority: lowest Milestone: HeuristicLab 3.3.0
Component: Selection Version: 3.2
Keywords: Cc:

Description

This is an extreme case but the exception can be easily prevented by randomly selecting the first solution.

Change History (6)

comment:1 Changed 12 years ago by gkronber

  • Status changed from new to assigned

comment:2 Changed 12 years ago by gkronber

fixed with r1062 in CEDMA refactoring branch (see #419).

comment:3 Changed 12 years ago by gkronber

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed with r1063 in trunk.

comment:4 Changed 12 years ago by swagner

  • Milestone changed from 3.2 to Iteration 0

Milestone 3.2 deleted

comment:5 Changed 11 years ago by swagner

  • Milestone changed from Iteration 0 to Current

Milestone Iteration 0 deleted

comment:11 Changed 11 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.