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

Another wrong outcome of autodeclared index dimension #325

Closed
mgerlach-phys opened this issue Sep 16, 2019 · 0 comments
Closed

Another wrong outcome of autodeclared index dimension #325

mgerlach-phys opened this issue Sep 16, 2019 · 0 comments

Comments

@mgerlach-phys
Copy link

mgerlach-phys commented Sep 16, 2019

This may be related to #324.

Declaring a dimension of autodeclared indices with "autodeclare" leads to strange results.
As seen with the following program:

*autodeclare symbol a;
*autodeclare symbol a, b;
*autodeclare symbol a, b, c;

autodeclare symbol N;
autodeclare index randomIndex=N1;

local A = d_(randomIndex1,randomIndex2)*d_(randomIndex1,randomIndex2);

print +s;
.end

This program gives pi_.
Uncommenting one of the first three lines results in other random internal used parameter, such as coeff_, num_ or den_.

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