Remove incorrent symbol decl.

This commit is contained in:
Iaroslav Postovalov 2020-12-20 20:58:52 +07:00
parent 9fbca45235
commit c8df741a4e
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -297,11 +297,6 @@ public interface Space<T> : SpaceOperations<T> {
* 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<T> : Space<T>, RingOperations<T>, NumericAlgebra<T> {
public override fun number(value: Number): T = one * value.toDouble()
public override fun symbol(value: String): T = when (value) {
"one" -> one
else -> super<Space>.symbol(value)
}
/**
* Addition of element and scalar.
*