Changeset 23206f4 in git


Ignore:
Timestamp:
Aug 3, 2010, 2:16:34 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '0bc2210f8055033868008a3836878db65ec6f89e')
Children:
7c5fba501ba861f79f965aabe0d81fc093f476b7
Parents:
790e6bcef47e5083428e4dbb9a59ce6fc1f97b6b
Message:
opt. ssiReadPoly

git-svn-id: file:///usr/local/Singular/svn/trunk@13080 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ssiLink.cc

    r790e6bc r23206f4  
    318318  j=0;
    319319  poly ret=NULL;
     320  poly prev=NULL;
    320321  for(l=0;l<n;l++) // read n terms
    321322  {
     
    333334    p_Setm(p,D->r);
    334335    p_Test(p,D->r);
    335     ret=p_Add_q(ret,p,D->r);
     336    if (ret==NULL) ret=p;
     337    else           pNext(prev)=p;
     338    prev=p;
    336339 }
    337340 return ret;
     
    468471        {
    469472          leftv h=ssiRead1(l); /*contains an exit.... */
    470           if (feErrors != NULL && *feErrors != '\0')
    471           {
    472             // handle errors:
    473             PrintS(feErrors); /* currently quite simple */
    474             *feErrors = '\0';
    475           }
     473          if (feErrors != NULL && *feErrors != '\0')
     474          {
     475            // handle errors:
     476            PrintS(feErrors); /* currently quite simple */
     477            *feErrors = '\0';
     478          }
    476479          ssiWrite(l,h);
    477480          h->CleanUp();
    478481          omFreeBin(h, sleftv_bin);
    479482        }
    480         /* never reached*/
     483        /* never reached*/
    481484      }
    482485      else if (pid>0)
Note: See TracChangeset for help on using the changeset viewer.