Skip to content

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

Description

@kmaibach

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions