Changeset 933516 in git


Ignore:
Timestamp:
Aug 11, 2014, 2:38:17 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '60097d763e0b541617a3b864b5310c523edaf81d')
Children:
d9c16e44a4983922ea8429a2093e96e7163e1aea
Parents:
cad35a8a9d100ba6f0695d7ed9c51aa9416c6726
Message:
code cleanup: types in lib, comments
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/JMSConst.lib

    rcad35a8 r933516  
    231231def K=ring(L);
    232232setring(K);
    233 def Borid=imap(r,Borid);
    234 def N=imap(r,N);
    235 def B=imap(r,B);
     233ideal Borid=imap(r,Borid);
     234list N=imap(r,N);
     235list B=imap(r,B);
    236236//NumN contains only scalars so I do not imap it
    237237int j;
     
    791791list S=list();
    792792//print("anello definito");
    793 def V=imap(r,V1);
     793list V=imap(r,V1);
    794794//def G=imap(r,G1);
    795795//print(V);
    796 def MM=imap(r,M);
     796list MM=imap(r,M);
    797797list G=list();
    798798list N=list();
  • libpolys/polys/monomials/ring.cc

    rcad35a8 r933516  
    457457  assume( r->ref <= 0 );
    458458
    459   if( r->ref > 0 ) // ->ref means the number of Interpreter objects refearring to the ring...
    460     return; // NOTE: There may be memory leaks due to inconsisten use of r->ref!!! (e.g. due to ext_fields)
     459  if( r->ref > 0 ) // ->ref means the number of Interpreter objects referring to the ring...
     460    return;       // this should never happen.
    461461
    462462  if( r->qideal != NULL )
     
    38363836    }
    38373837
    3838     if (r->order != NULL)
    3839     {
    3840       // delete r->order!!!???
    3841     }
    3842 
    38433838    if (r->PolyBin != NULL)
    38443839      omUnGetSpecBin(&(r->PolyBin));
  • libpolys/reporter/reporter.cc

    rcad35a8 r933516  
    160160  {
    161161    // if the used buffer is a "smal block",
    162     // substitue the "large" initial block by a smal one
     162    // substitue the "large" initial block by a small one
    163163    char *s=omStrDup(r); omFree(r); r=s;
    164164  }
Note: See TracChangeset for help on using the changeset viewer.