Changeset aa353e in git for kernel/GBEngine/kstd1.cc


Ignore:
Timestamp:
Apr 10, 2015, 2:23:59 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
9383ae8c2345574530bbcaa9082f475a84fcbf0f
Parents:
8024837072c7be2a09fc786de78354ac60cb89c6
Message:
opt. enterS, enterT: reference instead of copy for L/TObject
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd1.cc

    r802483 raa353e  
    747747        if (ei <= H.ecart) break;
    748748        if (((strat->T[j].ecart < ei)
    749           || ((strat->T[j].ecart == ei)
    750         && (strat->T[j].length < li)))
     749          || ((strat->T[j].ecart == ei) && (strat->T[j].length < li)))
    751750        && pLmShortDivisibleBy(strat->T[j].p,strat->sevT[j], H.p, not_sev))
    752751        {
     
    12131212*  - reorders s,L
    12141213*/
    1215 void enterSMora (LObject p,int atS,kStrategy strat, int atR = -1)
     1214void enterSMora (LObject &p,int atS,kStrategy strat, int atR = -1)
    12161215{
    12171216  enterSBba(p, atS, strat, atR);
     
    12671266*  - computes noether
    12681267*/
    1269 void enterSMoraNF (LObject p, int atS,kStrategy strat, int atR = -1)
     1268void enterSMoraNF (LObject &p, int atS,kStrategy strat, int atR = -1)
    12701269{
    12711270  enterSBba(p, atS, strat, atR);
Note: See TracChangeset for help on using the changeset viewer.