From 8f1cf0179a95345c3d9e0bd5323eb0b320f4f9dc Mon Sep 17 00:00:00 2001 From: Iaroslav Date: Mon, 8 Jun 2020 14:48:44 +0700 Subject: [PATCH] Minor refactor --- .../scientifik/kmath/expressions/FunctionalExpressions.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/FunctionalExpressions.kt b/kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/FunctionalExpressions.kt index 0304a665f..7b5a93465 100644 --- a/kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/FunctionalExpressions.kt +++ b/kmath-core/src/commonMain/kotlin/scientifik/kmath/expressions/FunctionalExpressions.kt @@ -51,9 +51,9 @@ open class FunctionalExpressionSpace(val space: Space) : Space): Expression = arg - this } -open class FunctionalExpressionField( - val field: Field -) : ExpressionField>, FunctionalExpressionSpace(field) { +open class FunctionalExpressionField(val field: Field) : + ExpressionField>, + FunctionalExpressionSpace(field) { override val one: Expression get() = const(this.field.one)