Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Particle overwritten by function #617

Open
tueda opened this issue Jan 30, 2025 · 0 comments
Open

Particle overwritten by function #617

tueda opened this issue Jan 30, 2025 · 0 comments

Comments

@tueda
Copy link
Collaborator

tueda commented Jan 30, 2025

Functions can't be redeclared as particles:

CF f;
Model TMP;
  Particle f;
EndModel;
.end
test.frm Line 3 --> Name of particle previously declared as another variable: f

On the other hand, particles can be redeclared as functions:

On names;
Model TMP;
  Particle f;
EndModel;
CF f;
.end
 Commuting Functions
   f
 Sets
   TMP: 0

which seems like the check is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant