Hi all,

Consider the following code:

NUM = 2
R = BooleanPolynomialRing(NUM, ['x%d'%(i) for i in range(NUM)])
expr = R('x0') + R('x1') * R('x2')
print expr
from sage.crypto.boolean_function import BooleanFunction
expr2 = BooleanFunction(expr)
print expr2.truth_table().count(False)

This code works fine. Now changing NUM to 30 and 80 respectively, I can see 
two different responses: One is MemoryError and the other is OverflowError. 
Is that a bug; I mean, aren't both of them supposed to give same kind of 
error?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to