Changeset 275397 in git for Singular/matpol.cc


Ignore:
Timestamp:
Apr 8, 1998, 6:04:32 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
43ad8d3a0bac24e78153444638b76171714c3860
Parents:
af191b958ee3fe3243b1c9364cbf7700930e02ba
Message:
* hannes: fixes in kstdfac.cc kutil.cc kstd[12].cc


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

Legend:

Unmodified
Added
Removed
  • Singular/matpol.cc

    raf191b9 r275397  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: matpol.cc,v 1.9 1998-02-18 11:35:31 siebert Exp $ */
     4/* $Id: matpol.cc,v 1.10 1998-04-08 16:04:29 Singular Exp $ */
    55
    66/*
     
    6868    rc->m = (polyset)Alloc0(s);
    6969#endif
    70     if (rc->m==NULL)
    71     {
    72       Werror("internal error: creating matrix[%d][%d]",r,c);
    73       return NULL;
    74     }
     70    //if (rc->m==NULL)
     71    //{
     72    //  Werror("internal error: creating matrix[%d][%d]",r,c);
     73    //  return NULL;
     74    //}
    7575  }
    7676  return rc;
     
    725725  /* fill in the powers of x_var=h*/
    726726  poly h=pOne();
    727   for(k=1;k<=r; k++)
     727  for(k=r;k>0; k--)
    728728  {
    729729    MATELEM(m,k,k*(p+1))=pOne();
    730730  }
    731   for(l=1;l<=p; l++)
     731  for(l=p;l>0; l--)
    732732  {
    733733    pSetExp(h,var,l);
    734734    pSetm(h);
    735     for(k=1;k<=r; k++)
     735    for(k=r;k>0; k--)
    736736    {
    737737      MATELEM(m,k,k*(p+1)-l)=pCopy(h);
     
    892892row_col_weight::~row_col_weight()
    893893{
    894   if (ym)
     894  if (ym!=0)
    895895  {
    896896    Free((ADDRESS)wcol, yn*sizeof(float));
Note: See TracChangeset for help on using the changeset viewer.