Code: Select all
w = netcon.weight
netcon.weight = w
i=1
x = netcon.weight[i]
netcon.weight[i] = x
It seems some vital ingredient is missing from my understanding of the documentation. has anybody successfully used this construction?
Moderator: wwlytton
Code: Select all
w = netcon.weight
netcon.weight = w
i=1
x = netcon.weight[i]
netcon.weight[i] = x
Happens all the time. Isn't this really the fundamental problem in computational modeling? making sure that there is a close match between what's in one's head and what's in the computer?Raj wrote:the difference between what I thought my code was doing and what it actually did