Skip to content

Commit

Permalink
source tweaks for Scala 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Jun 4, 2024
1 parent 22b51d0 commit 2c782c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/scala/com/lightbend/benchdb/RunResult.scala
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ object RunResult extends Logging {
val diff = Ordering.Long.compare(x.toLong, y.toLong)
if(diff != 0) return diff
} else if(asDouble) {
val diff = Ordering.Double.compare(x.toDouble, y.toDouble)
val diff = Ordering.Double.TotalOrdering.compare(x.toDouble, y.toDouble)
if(diff != 0) return diff
} else {
val diff = Ordering.String.compare(x, y)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TableFormatter(val go: GlobalOptions) {
}
}
}
widths
widths.toIndexedSeq
}

private def formatSeparator(widths: IndexedSeq[Int], lIdx: Int, cIdx: Int, rIdx: Int): String = {
Expand Down

0 comments on commit 2c782c5

Please sign in to comment.