version 0.0.9
This commit is contained in:
@@ -75,9 +75,7 @@ function addNewSynapticConn!(mask::AbstractArray{<:Any}, x::Number, wRec::Abstra
|
||||
# replace the elements in wRec at the selected positions with a
|
||||
for i in selected
|
||||
wRec[i] = rand(0.01:0.01:0.1)
|
||||
if counter !== nothing
|
||||
counter[i] = 0 # counting start from 0
|
||||
end
|
||||
counter[i] = 0 # counting start from 0
|
||||
end
|
||||
# error("DEBUG addNewSynapticConn!")
|
||||
return remaining
|
||||
|
||||
Reference in New Issue
Block a user