Commit ee529830 authored by Jens Korinth's avatar Jens Korinth

Bugfix broken Run.compare

parent 0260f867
......@@ -13,7 +13,8 @@ sealed private trait Run extends Startable with Ordered[Run] {
def task: Option[ComposeTask]
def area: AreaEstimate
def compare(that: Run): Int =
(this.area, this.element.h, this.element.frequency) compare (that.area, that.element.h, that.element.frequency)
(this.area.utilization, this.element.h, this.element.frequency) compare
(that.area.utilization, that.element.h, that.element.frequency)
}
private class ConcreteRun(val no: Int, val element: DesignSpace.Element, val target: Target, val debugMode: Option[String])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment