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

about max_(?a) function #582

Open
veretin opened this issue Nov 19, 2024 · 1 comment
Open

about max_(?a) function #582

veretin opened this issue Nov 19, 2024 · 1 comment

Comments

@veretin
Copy link

veretin commented Nov 19, 2024

Moin!

I find the following inconsistent (happened when we try to count propagators at born level)

c A;
g ff = A;

id A(?a) = max_(?a);
print;
.end

which produces 1. I would expect here unevaluated as in

c A;
g ff = A;

id A(?a) = sign_(?a);
print;
.end

which gives "sign_".

@tueda
Copy link
Collaborator

tueda commented Nov 19, 2024

I'm not sure if this is a bug or a design choice, but if we want to "fix" it, then it seems that the break statement at

if ( t[1] == FUNHEAD ) break;

needs to be changed to like goto nospec or something with the same effect.

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

2 participants