building knowledgeFn in GPU format
This commit is contained in:
@@ -13,7 +13,7 @@ function refractoryStatus!(refractoryCounter, refractoryActive, refractoryInacti
|
||||
if refractoryCounter[1, 1, i, j] > 0 # inactive
|
||||
view(refractoryActive, 1, 1, i, j) .= 0
|
||||
view(refractoryInactive, 1, 1, i, j) .= 1
|
||||
else
|
||||
else # active
|
||||
view(refractoryActive, 1, 1, i, j) .= 1
|
||||
view(refractoryInactive, 1, 1, i, j) .= 0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user