Bump dev version

This commit is contained in:
Alexander Nozik 2021-03-15 19:24:07 +03:00
parent 71ed56c2b6
commit cceffa09e8
2 changed files with 5 additions and 8 deletions

View File

@ -20,7 +20,7 @@ allprojects {
} }
group = "space.kscience" group = "space.kscience"
version = "0.3.0" version = "0.3.0-dev-2"
} }
subprojects { subprojects {

View File

@ -103,7 +103,7 @@ public object CMLinearSpace : LinearSpace<Double, RealField> {
structure.getFeature(type)?.let { return it } structure.getFeature(type)?.let { return it }
val origin = structure.toCM().origin val origin = structure.toCM().origin
return when (type) { return when (type) {
DiagonalFeature::class -> if (origin is DiagonalMatrix) DiagonalFeature else null DiagonalFeature::class -> if (origin is DiagonalMatrix) DiagonalFeature else null
@ -142,11 +142,8 @@ public object CMLinearSpace : LinearSpace<Double, RealField> {
} }
} }
public operator fun CMMatrix.plus(other: CMMatrix): CMMatrix = public operator fun CMMatrix.plus(other: CMMatrix): CMMatrix = CMMatrix(origin.add(other.origin))
CMMatrix(origin.add(other.origin))
public operator fun CMMatrix.minus(other: CMMatrix): CMMatrix = public operator fun CMMatrix.minus(other: CMMatrix): CMMatrix = CMMatrix(origin.subtract(other.origin))
CMMatrix(origin.subtract(other.origin))
public infix fun CMMatrix.dot(other: CMMatrix): CMMatrix = public infix fun CMMatrix.dot(other: CMMatrix): CMMatrix = CMMatrix(origin.multiply(other.origin))
CMMatrix(origin.multiply(other.origin))