Skip to content
Snippets Groups Projects
Commit 4f28291f authored by Davies Liu's avatar Davies Liu
Browse files

[HOTFIX] fix float part of avgRate

parent 6883a512
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ private[spark] object Benchmark {
}
val best = runTimes.min
val avg = runTimes.sum / iters
Result(avg / 1000000, num / (best / 1000), best / 1000000)
Result(avg / 1000000.0, num / (best / 1000.0), best / 1000000.0)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment