From c8df741a4e2c7d45f25d4ce8c083250a524f514a Mon Sep 17 00:00:00 2001 From: Iaroslav Postovalov Date: Sun, 20 Dec 2020 20:58:52 +0700 Subject: [PATCH] Remove incorrent symbol decl. --- .../kotlin/kscience/kmath/operations/Algebra.kt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/kmath-core/src/commonMain/kotlin/kscience/kmath/operations/Algebra.kt b/kmath-core/src/commonMain/kotlin/kscience/kmath/operations/Algebra.kt index 3dfd14921..6cf9eeb78 100644 --- a/kmath-core/src/commonMain/kotlin/kscience/kmath/operations/Algebra.kt +++ b/kmath-core/src/commonMain/kotlin/kscience/kmath/operations/Algebra.kt @@ -297,11 +297,6 @@ public interface Space : SpaceOperations { * The neutral element of addition. */ public val zero: T - - public override fun symbol(value: String): T = when (value) { - "zero" -> zero - else -> super.symbol(value) - } } /** @@ -354,11 +349,6 @@ public interface Ring : Space, RingOperations, NumericAlgebra { public override fun number(value: Number): T = one * value.toDouble() - public override fun symbol(value: String): T = when (value) { - "one" -> one - else -> super.symbol(value) - } - /** * Addition of element and scalar. *