Error while compiling
Posted: Tue Feb 14, 2012 9:57 pm
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.
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.