Merge pull request #224 from mipt-npm/commandertvis/issue223
Fix #223
This commit is contained in:
commit
5c2f15da04
@ -188,7 +188,7 @@ public interface SpaceOperations<T> : Algebra<T> {
|
|||||||
public operator fun Number.times(b: T): T = b * this
|
public operator fun Number.times(b: T): T = b * this
|
||||||
|
|
||||||
public override fun unaryOperationFunction(operation: String): (arg: T) -> T = when (operation) {
|
public override fun unaryOperationFunction(operation: String): (arg: T) -> T = when (operation) {
|
||||||
PLUS_OPERATION -> { arg -> arg }
|
PLUS_OPERATION -> { arg -> +arg }
|
||||||
MINUS_OPERATION -> { arg -> -arg }
|
MINUS_OPERATION -> { arg -> -arg }
|
||||||
else -> super.unaryOperationFunction(operation)
|
else -> super.unaryOperationFunction(operation)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user