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 » Tue Feb 14, 2012 9:57 pm

Hi Ted,

I have a equation defined in BREAKPOINT block as given below.
where gmax is defined in DERIVATIVE block as given below.
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.

Site Admin
Posts: 5724
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: Error while compiling

Post by ted » Wed Feb 15, 2012 11:44 am

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