Skip to content

Fix the homset category initialization for ModularAbelianVariety's homspaces #12875

@nthiery

Description

@nthiery

Before the patch, the following was wrong (probably introduced by #9138):

    sage: End(J0(37)).homset_category()
    Join of Category of hom sets in Category of sets and Category of rings

After the patch:

    sage: End(J0(37)).homset_category()
    Category of modular abelian varieties over Rational Field

In both cases, we have, as desired:

    sage: End(J0(37)).category()
    Join of Category of hom sets in Category of sets and Category of rings

By the way, this removes a direct call to _Hom_, using Hom instead, preparing for #11935.

Note: #11935 depends on this ticket.

CC: @sagetrac-sage-combinat

Component: modular forms

Keywords: abelian varieties

Author: Nicolas M. Thiéry

Reviewer: Simon King

Merged: sage-5.1.beta0

Issue created by migration from https://trac.sagemath.org/ticket/12875

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions