Get rid of time index in LaTeX-code of model local variables
As mentioned in #563 (closed), the LaTeX-Code sometimes adds a time t-index to model local variables althoug they cannot be lagged or leaded. This should also be removed. A MWE is
var u $u$;
parameters delta_1 ${\delta_1}$
delta_2divdelta_1 ${\frac{\delta_2}{\delta_1}}$;
model;
#delta_2=delta_2divdelta_1*delta_1;
1 =1*(delta_1+delta_2*(exp(u)-1));
end;
write_latex_dynamic_model;
which results in
\begin{dmath}
% Equation 1
1={\delta_1}+delta\_2_{t}\, \left(exp\left(u_{t}\right)-1\right)
\end{dmath}