Add newlines

This commit is contained in:
Iaroslav 2020-08-22 03:01:47 +07:00
parent f3e2b4a597
commit 1b8ddedfe3
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7
3 changed files with 3 additions and 3 deletions

View File

@ -29,4 +29,4 @@ class SamplerSpace<T : Any>(val space: Space<T>) : Space<Sampler<T>> {
override fun multiply(a: Sampler<T>, k: Number): Sampler<T> = BasicSampler { generator -> override fun multiply(a: Sampler<T>, k: Number): Sampler<T> = BasicSampler { generator ->
a.sample(generator).map { space { it * k.toDouble() } } a.sample(generator).map { space { it * k.toDouble() } }
} }
} }

View File

@ -93,4 +93,4 @@ class Median<T>(private val comparator: Comparator<T>) : Statistic<T, T> {
companion object { companion object {
val real: Median<Double> = Median(Comparator { a: Double, b: Double -> a.compareTo(b) }) val real: Median<Double> = Median(Comparator { a: Double, b: Double -> a.compareTo(b) })
} }
} }

View File

@ -17,4 +17,4 @@ inline class ViktorBuffer(val flatArray: F64FlatArray) : MutableBuffer<Double> {
} }
override operator fun iterator(): Iterator<Double> = flatArray.data.iterator() override operator fun iterator(): Iterator<Double> = flatArray.data.iterator()
} }