fixed import

这个提交包含在:
John Hartley
2019-07-31 18:19:35 +01:00
父节点 3b09bca108
当前提交 11d850f61c

查看文件

@@ -1,7 +1,3 @@
from __future__ import print_function
from gprMax.constants cimport floattype_t
from gprMax.constants cimport complextype_t
import numpy as np import numpy as np
cimport numpy as np cimport numpy as np
from cython.parallel import prange from cython.parallel import prange
@@ -212,7 +208,7 @@ cpdef void cython_update_is(
int nwx, int nwx,
int nwy, int nwy,
int nwz, int nwz,
floattype_t[:, :] updatecoeffsE, double[:, :] updatecoeffsE,
np.uint32_t[:, :, :, :] ID, np.uint32_t[:, :, :, :] ID,
int n, int n,
int offset, int offset,
@@ -220,9 +216,9 @@ cpdef void cython_update_is(
int nwm, int nwm,
int nwn, int nwn,
int face, int face,
floattype_t[:, :, :] field, double[:, :, :] field,
floattype_t[:, :] inc_field_l, double[:, :] inc_field_l,
floattype_t[:, :] inc_field_u, double[:, :] inc_field_u,
Py_ssize_t lookup_id, Py_ssize_t lookup_id,
int sign_l, int sign_l,
int sign_u, int sign_u,