OK, maybe I figured this out. The parent of my vector space
morphisms, a vector space homset, was not coercing a vector space
morphism properly, so when trying to compare two vector space
morphisms they had unequal parents.
For the record, this was made obvious by calling
canonical_coercion(f, g)
On 7/26/11 12:03 PM, William Stein wrote:
On Tue, Jul 26, 2011 at 11:55 AM, Rob Beezer mailto:goo...@beezer.cotse.net>> wrote:
I've built a class for vector space morphisms, aka linear
transformations. Mostly this just extends free module morphisms,
while making a few distinctions
On Jul 26, 12:03 pm, William Stein wrote:
> Did you overload *both* __cmp__ *and* __hash__?
The matrix morphism class implements just __cmp__, with no __hash__.
Existing free module morphism class implements neither, my new vector
space morphism class implements neither.
Free module morphisms b