From 51758bce8bb83d5a55bee1d9d70966ed97c0c8b5 Mon Sep 17 00:00:00 2001 From: MatejTomes Date: Fri, 12 Jun 2020 10:44:09 +0200 Subject: [PATCH] make compass development compatible with cherab --- cherab/compass/math/profile/electron.pxd | 2 +- cherab/compass/math/profile/electron.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cherab/compass/math/profile/electron.pxd b/cherab/compass/math/profile/electron.pxd index b1cee70..629f10b 100644 --- a/cherab/compass/math/profile/electron.pxd +++ b/cherab/compass/math/profile/electron.pxd @@ -1,4 +1,4 @@ -from raysect.core.math.function cimport Function1D +from raysect.core.math.function.float cimport Function1D cdef class ModifiedTanhGaussian(Function1D): diff --git a/cherab/compass/math/profile/electron.pyx b/cherab/compass/math/profile/electron.pyx index b07b4f4..8604144 100644 --- a/cherab/compass/math/profile/electron.pyx +++ b/cherab/compass/math/profile/electron.pyx @@ -1,4 +1,4 @@ -from raysect.core.math.function cimport Function1D +from raysect.core.math.function.float cimport Function1D from libc.math cimport exp