Ticket #10553: trac_10553.patch

File trac_10553.patch, 807 bytes (added by davidloeffler, 8 years ago)

New patch. Requires #10451. Replaces previous patch.

  • sage/modular/hecke/submodule.py

    # HG changeset patch
    # User David Loeffler <d.loeffler.01@cantab.net>
    # Date 1300450078 0
    # Node ID d76e84ed29f45606c0f68c33fc9449e1e0f228e4
    # Parent  7ed7daa08e0b47b6b6ad0ed18d282fbb5a9a0a89
    #10553: disable unnecessary checking in diamond operator code
    
    diff -r 7ed7daa08e0b -r d76e84ed29f4 sage/modular/hecke/submodule.py
    a b  
    252252            [1 0]
    253253            [0 1]
    254254        """
    255         return self.ambient_hecke_module().diamond_bracket_matrix(d).restrict(self.free_module())
     255        return self.ambient_hecke_module().diamond_bracket_matrix(d).restrict(self.free_module(), check=False)
    256256
    257257    def _compute_atkin_lehner_matrix(self, d):
    258258        """