Remove incorrent symbol decl.
This commit is contained in:
parent
9fbca45235
commit
c8df741a4e
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user