assigned value
Posted: Thu Feb 21, 2008 10:33 pm
I have a parameter assigned some MOD RANGE variable,
like:
Ex[0].soma.Ca_IAF = 10
ExEx[0].gmax = 10
but I found Ex[0].soma.Ca_IAF is reinitialized to 0, but ExEx[0].gmax is not.
print Ex[0].soma.Ca_IAF // this gives 10, OK.
print ExEx[0].gmax // 10
finitialize(v_init)
print Ex[0].soma.Ca_IAF // this gives 0.
print ExEx[0].gmax // 10
why this happens? thanks.
like:
Ex[0].soma.Ca_IAF = 10
ExEx[0].gmax = 10
but I found Ex[0].soma.Ca_IAF is reinitialized to 0, but ExEx[0].gmax is not.
print Ex[0].soma.Ca_IAF // this gives 10, OK.
print ExEx[0].gmax // 10
finitialize(v_init)
print Ex[0].soma.Ca_IAF // this gives 0.
print ExEx[0].gmax // 10
why this happens? thanks.