Skip to content

Commit

Permalink
Don't try to inherit from python -> cython
Browse files Browse the repository at this point in the history
  • Loading branch information
asross committed May 18, 2022
1 parent 1f1fd5c commit eba15da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions pyqg/kernels/cython_fftw_kernel.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import warnings
import cython
cimport numpy as np
from cython.parallel import prange, threadid
from .kernel import Kernel

# see if we got a compile time flag
include '.compile_time_use_pyfftw.pxi'
Expand All @@ -30,7 +29,7 @@ DTYPE_com = np.complex128
ctypedef np.float64_t DTYPE_real_t
ctypedef np.complex128_t DTYPE_com_t

cdef class CythonFFTWKernel(Kernel):
cdef class CythonFFTWKernel:
# array shapes
cdef public int nx, ny, nz
cdef public int nk, nl
Expand Down
4 changes: 0 additions & 4 deletions pyqg/kernels/kernel.py

This file was deleted.

0 comments on commit eba15da

Please sign in to comment.