DLR-SR / Noise

Modelica library for generating stochastic signals to be included in the Modelica Standard Library
9 stars 11 forks source link

Avoid variable name "state" #72

Closed tbeu closed 9 years ago

tbeu commented 9 years ago

Variable name "state" is a potential key word and thus inauspicious.

akloeckner commented 9 years ago

If this is an issue, we should have to change a few other names as well. state appears in several other places and initialState is the default function name for the, well, initial state...

I'll merge your pull request for now...

tbeu commented 9 years ago

Thanks.

I only observed it with name state (which somehow is a keyword) as argument of an external function.