diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index d0e424c37..5093b7930 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -5,5 +5,5 @@ plugins { repositories.jcenter() dependencies { - implementation(kotlin("compiler-embeddable")) + implementation(kotlin("compiler-embeddable", "1.4.10")) } diff --git a/kmath-gsl/src/nativeMain/kotlin/kscience/kmath/gsl/_Vectors.kt b/kmath-gsl/src/nativeMain/kotlin/kscience/kmath/gsl/_Vectors.kt index 918fca825..a33c6c98e 100644 --- a/kmath-gsl/src/nativeMain/kotlin/kscience/kmath/gsl/_Vectors.kt +++ b/kmath-gsl/src/nativeMain/kotlin/kscience/kmath/gsl/_Vectors.kt @@ -1,6 +1,7 @@ package kscience.kmath.gsl -import kotlinx.cinterop.* +import kotlinx.cinterop.CPointer +import kotlinx.cinterop.pointed import org.gnu.gsl.* internal class GslRealVector(override val nativeHandle: CPointer) : GslVector() {