Changeset 1326:eb605b907a93


Ignore:
Timestamp:
10/01/06 07:44:33 (7 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

Some fixes so matrices work correctly (after rearranging class names).

Location:
sage
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sage/matrix/matrix_generic.pxd

    r1319 r1326  
    1 from sage.structure.element cimport ModuleElement 
    2 from sage.structure.mutability_pyx cimport Mutability 
     1import  sage.structure.element 
     2cimport sage.structure.element 
    33 
    4 cdef class Matrix(ModuleElement): 
     4cdef class Matrix(sage.structure.element.ModuleElement): 
    55    cdef object _mutability 
    66    cdef public object _parent 
  • sage/matrix/matrix_generic.pyx

    r1324 r1326  
    108108from   sage.rings.integer_ring import IntegerRing 
    109109 
    110  
    111 cdef class Matrix(ModuleElement): 
     110from sage.structure.mutability_pyx import Mutability 
     111 
     112cdef class Matrix(sage.structure.element.ModuleElement): 
    112113    r""" 
    113114    The \class{Matrix} class is the base class for all matrix 
     
    125126            <type 'matrix_generic.Matrix'> 
    126127        """ 
    127         ModuleElement.__init__(self, parent) 
     128        sage.structure.element.ModuleElement.__init__(self, parent) 
    128129        self.__nrows = parent.nrows() 
    129130        self.__ncols = parent.ncols() 
  • sage/version.py

    r1277 r1326  
    1 version='1.4.b0'; date='2006-09-30' 
     1version='1.4'; date='2006-10-01' 
Note: See TracChangeset for help on using the changeset viewer.