Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-584

Score.negate() always fails on an uninitialized score and power() maybe too

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 7.0.0.Beta1
    • None
    • optaplanner-core
    • None
    • NEW
    • NEW

      A score with an initScore that is higher 0 fails at construction time.
      This breaks certain arithmetic with it, such as negate(), power() or even subtracts()...

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: