Skip to content
Snippets Groups Projects
Commit f1085fa3 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent c2bf6bb7
Branches
No related tags found
No related merge requests found
......@@ -319,7 +319,7 @@ class CNN:
for i in range(int(lenx / 2)):
cell = grd_k[t, j:j + 2, i:i + 2]
if np.sum(np.isnan(cell)) == 0:
cnt = np.sum(cell[t, :, ] == 1.0)
cnt = np.sum(cell)
if cnt == 0:
grd_down_2x[t, j, i] = 0
elif cnt == 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment