你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Corrected out-of-bounds bug for upper bounds in build_voxels_from_array_mask function.
这个提交包含在:
@@ -719,9 +719,9 @@ cpdef void build_voxels_from_array_mask(int xs, int ys, int zs, int waternumID,
|
||||
cdef int xf, yf, zf, numID, numIDx, numIDy, numIDz
|
||||
|
||||
# Set upper bounds
|
||||
xf = xs + data.shape[0]
|
||||
yf = ys + data.shape[1]
|
||||
zf = zs + data.shape[2]
|
||||
xf = xs + data.shape[0] - 1
|
||||
yf = ys + data.shape[1] - 1
|
||||
zf = zs + data.shape[2] - 1
|
||||
|
||||
for i in range(xs, xf):
|
||||
for j in range(ys, yf):
|
||||
|
在新工单中引用
屏蔽一个用户