Remove unnecessary internal dependencies

This commit is contained in:
Alexander Nozik 2024-03-17 09:42:50 +03:00
parent 86324a9219
commit 82196250f6
3 changed files with 3 additions and 5 deletions

View File

@ -9,8 +9,7 @@ kscience {
wasm() wasm()
dependencies { dependencies {
api(project(":kmath-core")) api(projects.kmathCore)
api(project(":kmath-complex"))
api(spclibs.kotlinx.coroutines.core) api(spclibs.kotlinx.coroutines.core)
} }
} }

View File

@ -15,7 +15,7 @@ kotlin{
sourceSets{ sourceSets{
commonMain{ commonMain{
dependencies{ dependencies{
api(project(":kmath-tensors")) api(projects.kmathTensors)
api("org.jetbrains.kotlinx:multik-core:$multikVersion") api("org.jetbrains.kotlinx:multik-core:$multikVersion")
} }
} }

View File

@ -9,7 +9,6 @@ import org.jetbrains.kotlinx.multik.ndarray.data.*
import space.kscience.attributes.SafeType import space.kscience.attributes.SafeType
import space.kscience.attributes.safeTypeOf import space.kscience.attributes.safeTypeOf
import space.kscience.kmath.PerformancePitfall import space.kscience.kmath.PerformancePitfall
import space.kscience.kmath.complex.ComplexField
import space.kscience.kmath.nd.ShapeND import space.kscience.kmath.nd.ShapeND
import space.kscience.kmath.operations.* import space.kscience.kmath.operations.*
import space.kscience.kmath.tensors.api.Tensor import space.kscience.kmath.tensors.api.Tensor
@ -24,7 +23,7 @@ public val DataType.type: SafeType<*>
DataType.FloatDataType -> Float32Field.type DataType.FloatDataType -> Float32Field.type
DataType.DoubleDataType -> Float64Field.type DataType.DoubleDataType -> Float64Field.type
DataType.ComplexFloatDataType -> safeTypeOf<Pair<Float, Float>>() DataType.ComplexFloatDataType -> safeTypeOf<Pair<Float, Float>>()
DataType.ComplexDoubleDataType -> ComplexField.type DataType.ComplexDoubleDataType -> safeTypeOf<Pair<Double, Double>>()
} }