Error while compiling

Moderator: wwlytton

Post Reply
Krishna Chaitanya
Posts: 70
Joined: Wed Jan 18, 2012 12:25 am
Location: University of Pavia

Error while compiling

Post by Krishna Chaitanya »

Hi Ted,

I have a equation defined in BREAKPOINT block as given below.
g=gmax*exp(-(t-t0)/tau)
where gmax is defined in DERIVATIVE block as given below.
gmax'=-gmax/tau
While compiling I am getting error as:
Error: g is defined as both variable and function in mod file. [g is declared as RANGE variable and included under ASSIGNED block while gmax is declared as RANGE variable and included as state variable].

Please let me know where am I going wrong? Thank you.
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Error while compiling

Post by ted »

Strange. To discover the cause of these error messages, I'll have to see the complete NMODL file--could you please email it to me?
Post Reply