Specify type explicitly

This commit is contained in:
Iaroslav 2020-06-08 17:37:35 +07:00
parent 2b24bd979e
commit 5ff76209aa
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -60,7 +60,7 @@ class ZigguratNormalizedGaussianSampler private constructor() :
companion object { companion object {
private const val R: Double = 3.442619855899 private const val R: Double = 3.442619855899
private const val ONE_OVER_R: Double = 1 / R private const val ONE_OVER_R: Double = 1 / R
private const val V = 9.91256303526217e-3 private const val V: Double = 9.91256303526217e-3
private val MAX: Double = 2.0.pow(63.0) private val MAX: Double = 2.0.pow(63.0)
private val ONE_OVER_MAX: Double = 1.0 / MAX private val ONE_OVER_MAX: Double = 1.0 / MAX
private const val LEN: Int = 128 private const val LEN: Int = 128