Missing variable in Imp1

Anything that doesn't fit elsewhere.
Post Reply
csh
Posts: 52
Joined: Mon Feb 06, 2006 12:45 pm
Location: University College London
Contact:

Missing variable in Imp1

Post by csh »

Hi,
while using the "Imp1" wrapper class defined in share/lib/hoc/impedanc.hoc, I found that extended was used in Imp1.compute() without having been declared. Adding it to the public member list and initializing it to 0 in init() made the class work fine. Did I make a mistake while using the class or is extended missing in the public members' list?
Christoph
hines
Site Admin
Posts: 1710
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

Hmm. I see that "extended" is public and gui managed in the four Impedance class wrappers invokable from NEURONMainMenu/Tools/Impedance. It should also be public in nrn/lib/hoc/impedanc.hoc . At present its default value is 0 and hard to change at the interpreter top level. I have to admit that I had forgotten that the Imp1 wrapper existed.
Post Reply