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.
Error while compiling
Moderator: wwlytton
-
- Posts: 70
- Joined: Wed Jan 18, 2012 12:25 am
- Location: University of Pavia
-
- Site Admin
- Posts: 6300
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Error while compiling
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?