Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium

New issue 2659 by asmeurer: IndexedBase should be commutative by default
http://code.google.com/p/sympy/issues/detail?id=2659

As far as I can tell, there is no way to make a commutative IndexedBase object. I think it should be like every other Symbol object, and be commutative by default, and require commutative=False in the constructor to be commutative.

Right now, if you do IndexedBase('a', commutative=True), you get AssertionError: ('inconsistency between facts', {'real': False, 'even': False, 'irrational': False, 'nonpositive': False, 'composite': False, 'zero': False, 'integer': False, 'imaginary': False, 'odd': False, 'nonzero': True, 'commutative': False, 'prime': False, 'noninteger': False, 'negative': False, 'nonnegative': False, 'complex': False, 'rational': False, 'positive': False}, 'commutative', True).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to