This commit is contained in:
2023-09-15 11:06:08 +07:00
parent 1eca740395
commit 9ff567322d
3 changed files with 7 additions and 4 deletions

View File

@@ -320,6 +320,7 @@ function lifForward( zit,
if synapseReconnectDelay[i1,i2,i3,i4] == 0
# mark timestep
synapseReconnectDelay[i1,i2,i3,i4] = sum(timeStep)
wRec[i1,i2,i3,i4] = -1.0 # mark for reconnect
end
end
@@ -526,6 +527,7 @@ function alifForward( zit,
synapseReconnectDelay[i1,i2,i3,i4] -= 1
if synapseReconnectDelay[i1,i2,i3,i4] == 0
synapseReconnectDelay[i1,i2,i3,i4] = sum(timeStep)
wRec[i1,i2,i3,i4] = -1.0 # mark for reconnect
end
end
# voltage regulator