forked from kscience/kmath
Remove inline from Random-based RandomGenerator.kt to work around https://youtrack.jetbrains.com/issue/KT-44703
This commit is contained in:
parent
fab12564cf
commit
86263f602a
@ -4,7 +4,7 @@ plugins {
|
|||||||
id("ru.mipt.npm.project")
|
id("ru.mipt.npm.project")
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val kmathVersion: String by extra("0.2.0-dev-6")
|
internal val kmathVersion: String by extra("0.2.0-dev-7")
|
||||||
internal val bintrayRepo: String by extra("kscience")
|
internal val bintrayRepo: String by extra("kscience")
|
||||||
internal val githubProject: String by extra("kmath")
|
internal val githubProject: String by extra("kmath")
|
||||||
|
|
||||||
|
@ -2708,7 +2708,7 @@ public final class kscience/kmath/structures/Buffer$DefaultImpls {
|
|||||||
public static fun contentEquals (Lkscience/kmath/structures/Buffer;Lkscience/kmath/structures/Buffer;)Z
|
public static fun contentEquals (Lkscience/kmath/structures/Buffer;Lkscience/kmath/structures/Buffer;)Z
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class kscience/kmath/structures/BuffersKt {
|
public final class kscience/kmath/structures/BufferKt {
|
||||||
public static final fun ListBuffer (ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
public static final fun ListBuffer (ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
||||||
public static final fun asBuffer (Ljava/util/List;)Ljava/util/List;
|
public static final fun asBuffer (Ljava/util/List;)Ljava/util/List;
|
||||||
public static final fun asBuffer ([Ljava/lang/Object;)Lkscience/kmath/structures/ArrayBuffer;
|
public static final fun asBuffer ([Ljava/lang/Object;)Lkscience/kmath/structures/ArrayBuffer;
|
||||||
|
@ -83,7 +83,7 @@ public interface RandomGenerator {
|
|||||||
/**
|
/**
|
||||||
* Implements [RandomGenerator] by delegating all operations to [Random].
|
* Implements [RandomGenerator] by delegating all operations to [Random].
|
||||||
*/
|
*/
|
||||||
public inline class DefaultGenerator(public val random: Random = Random) : RandomGenerator {
|
public class DefaultGenerator(public val random: Random = Random) : RandomGenerator {
|
||||||
public override fun nextBoolean(): Boolean = random.nextBoolean()
|
public override fun nextBoolean(): Boolean = random.nextBoolean()
|
||||||
public override fun nextDouble(): Double = random.nextDouble()
|
public override fun nextDouble(): Double = random.nextDouble()
|
||||||
public override fun nextInt(): Int = random.nextInt()
|
public override fun nextInt(): Int = random.nextInt()
|
||||||
|
Loading…
Reference in New Issue
Block a user