Fix #223 #224

Merged
CommanderTvis merged 1 commits from commandertvis/issue223 into dev 2021-03-10 19:23:13 +03:00
Showing only changes of commit 39b41cc2ae - Show all commits

View File

@ -188,7 +188,7 @@ public interface SpaceOperations<T> : Algebra<T> {
public operator fun Number.times(b: T): T = b * this
public override fun unaryOperationFunction(operation: String): (arg: T) -> T = when (operation) {
PLUS_OPERATION -> { arg -> arg }
PLUS_OPERATION -> { arg -> +arg }
MINUS_OPERATION -> { arg -> -arg }
else -> super.unaryOperationFunction(operation)
}