Tensors shouldn't be comparable

Bug #471416 reported by Ken Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Divisi
New
Undecided
Unassigned

Bug Description

Our DictMixin defines a __cmp__. It shouldn't, because tensor1 > tensor2 doesn't make sense. __eq__ and __ne__ should be the only comparison operators implemented, and there are much more efficient ways to accomplish them than the approach used in DictMixin.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.