diff --git a/src/snn_utils.jl b/src/snn_utils.jl index ee1eab5..a72ffb5 100644 --- a/src/snn_utils.jl +++ b/src/snn_utils.jl @@ -279,7 +279,7 @@ end function synapticConnStrength!(n::Union{computeNeuron, outputNeuron}) for (i, connStrength) in enumerate(n.synapticStrength) # check whether connStrength increase or decrease based on usage from n.epsilonRec - #WORKING n.epsilonRec is all 0.0 why? may b it was reset? + #WORKING n.epsilonRec is all 0.0 why? may b it was reset? ANS: model fire at this timestep and gets reset epsilonRec during ΔwRecChange compute updown = n.epsilonRec[i] == 0.0 ? "down" : "up" updatedConnStrength = synapticConnStrength(connStrength, updown) updatedConnStrength = GeneralUtils.limitvalue(updatedConnStrength,