Merge branch 'doc_naming' into 'master'
Manual: clarify potential naming issues in steady state files See merge request Dynare/dynare!2007trustregion
commit
8a6ea14402
|
@ -112,10 +112,9 @@ parameters must not have the same name as Dynare commands or built-in
|
||||||
functions. In this respect, Dynare is not case-sensitive. For example,
|
functions. In this respect, Dynare is not case-sensitive. For example,
|
||||||
do not use ``Ln`` or ``Sigma_e`` to name your variable. Not conforming
|
do not use ``Ln`` or ``Sigma_e`` to name your variable. Not conforming
|
||||||
to this rule might yield hard-to-debug error messages or
|
to this rule might yield hard-to-debug error messages or
|
||||||
crashes. Second, to minimize interference with MATLAB or Octave
|
crashes. Second, when employing user-defined steady state files it is
|
||||||
functions that may be called by Dynare or user-defined steady state
|
recommended to avoid using the name of MATLAB functions as this may cause
|
||||||
files, it is recommended to avoid using the name of MATLAB
|
conflicts. In particular, when working with user-defined steady state files, do not
|
||||||
functions. In particular when working with steady state files, do not
|
|
||||||
use correctly-spelled greek names like `alpha`, because there are
|
use correctly-spelled greek names like `alpha`, because there are
|
||||||
MATLAB functions of the same name. Rather go for ``alppha`` or
|
MATLAB functions of the same name. Rather go for ``alppha`` or
|
||||||
``alph``. Lastly, please do not name a variable or parameter
|
``alph``. Lastly, please do not name a variable or parameter
|
||||||
|
|
Loading…
Reference in New Issue