Skip to content

strict equality of complexes #3868

@mahrud

Description

@mahrud

I closed my earlier issue because the issue is in using === for complexes, not truncation itself:

i1 : R = QQ[x];

i2 : complex R === complex R

o2 = false

This is because Complex inherits from mutable hash table, and there isn't another === method installed.

So perhaps really the issue is using === or =!= for complexes, for instance in liftMapAlongQuasiIsomorphism:

if N =!= target beta then error "expected targets of two maps to be the same complex";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions