Tensors shouldn't be comparable
Bug #471416 reported by
Ken Arnold
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.