Remove unnecessary internal dependencies
This commit is contained in:
parent
86324a9219
commit
82196250f6
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>>()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user