From ce71e0822c46769eb1851e1b327cb8a886c19baf Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 17 May 2018 14:39:59 +0300 Subject: [PATCH] Fix nsToMs --- .../org/jetbrains/kotlin/idea/perf/AllKotlinTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinTest.kt b/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinTest.kt index 11055af57dc..8999710a6a4 100644 --- a/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinTest.kt +++ b/idea/performanceTests/org/jetbrains/kotlin/idea/perf/AllKotlinTest.kt @@ -136,7 +136,7 @@ abstract class AllKotlinTest : DaemonAnalyzerTestCase() { } companion object { - val Long.nsToMs get() = this * (1e-6).toLong() + val Long.nsToMs get() = (this * 1e-6).toLong() } } \ No newline at end of file