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

uninitialized value output when calling a product with the count algebra (e.g. alg_count*alg_buyer) #127

Open
kmaibach opened this issue May 10, 2022 · 0 comments
Labels
invalid This doesn't seem right

Comments

@kmaibach
Copy link
Member

The call

gapc -p "alg_count*alg_buyer" elmamun.gap
make -f out.mf
./out 1+2*3*4+5

results in the following output: ( 14 , 2147483647 ) with the second value being some uninitialized value.
I tested this with other grammars and algebras as well, always reproducing the phenomenon.
Only works when calling the count algebra first, thus violating Bellman's Principle.

The preferred output of such a product should instead be an empty set.

@kmaibach kmaibach added the invalid This doesn't seem right label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant