Changeset 6fcddc9 in git for libpolys/polys/nc/nc.h


Ignore:
Timestamp:
Nov 22, 2012, 10:20:13 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
96d505212a6d61ec4e31fe4f7c2e2044f89eb69eb3cd39575ad9cf110a22729b4ce72d7fef6726fdcadaf23fbd63bd8fb7aadb287ac4a983f63fb33c
Parents:
30664c5b3e3d2f68b6afbb78f3f1798066c4f5b2
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-22 22:20:13+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-26 17:18:46+01:00
Message:
Made SCA's iFirstAltVar & iLastAltVar to be short
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/nc/nc.h

    r30664c r6fcddc9  
    112112        // iAltVarsStart, iAltVarsEnd are only used together with nc_type=nc_exterior
    113113        // 1 <= iAltVarsStart <= iAltVarsEnd <= r->N
    114         unsigned int iFirstAltVar, iLastAltVar; // = 0 by default
     114        short iFirstAltVar, iLastAltVar; // = 0 by default
    115115
    116116        // for factors of super-commutative algebras we need
     
    125125    inline nc_type ncRingType() const { return (type); };
    126126
    127     inline unsigned int& FirstAltVar()
     127    inline short& FirstAltVar()
    128128        { assume(ncRingType() == nc_exterior); return (data.sca.iFirstAltVar); };
    129     inline unsigned int& LastAltVar ()
     129    inline short& LastAltVar ()
    130130        { assume(ncRingType() == nc_exterior); return (data.sca.iLastAltVar ); };
    131131
    132     inline unsigned int FirstAltVar() const
     132    inline short FirstAltVar() const
    133133        { assume(ncRingType() == nc_exterior); return (data.sca.iFirstAltVar); };
    134     inline unsigned int LastAltVar () const
     134    inline short LastAltVar () const
    135135        { assume(ncRingType() == nc_exterior); return (data.sca.iLastAltVar ); };
    136136
Note: See TracChangeset for help on using the changeset viewer.