Changeset a4382f in git for Singular/iparith.cc


Ignore:
Timestamp:
Nov 2, 2010, 12:26:42 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
1eee1942009036293bba4732cba8350d473b4c15
Parents:
31f8c8f690fbefca075070a16cd0ba9496de5824
Message:
fix error mesage for std(4 args)

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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r31f8c8 ra4382f  
    77657765  ideal i1=(ideal)(u->Data());
    77667766  ideal i0;
     7767  if (((u->Typ()!=IDEAL_CMD)&&(u->Typ()!=MODUL_CMD))
     7768  || (h->Typ()!=INTVEC_CMD)
     7769  || (w->Typ()!=INTVEC_CMD))
     7770  {
     7771    WerrorS("expected `std(`ideal/module`,`poly/vector`,`intvec`,`intvec`)");
     7772    return TRUE;
     7773  }
    77677774  intvec *vw=(intvec *)w->Data(); // weights of vars
    77687775  /* merging std_hilb_w and std_1 */
     
    77787785    i0=idInit(1,i1->rank);
    77797786    i0->m[0]=(poly)v->Data();
    7780     BOOLEAN cleanup_i0=TRUE;;
    7781   }
    7782   else /* IDEAL */
     7787    BOOLEAN cleanup_i0=TRUE;
     7788  }
     7789  else if (r==IDEAL_CMD)/* IDEAL */
    77837790  {
    77847791    i0=(ideal)v->Data();
     7792  }
     7793  else
     7794  {
     7795    WerrorS("expected `std(`ideal/module`,`poly/vector`,`intvec`,`intvec`)");
     7796    return TRUE;
    77857797  }
    77867798  int ii0=idElem(i0);
Note: See TracChangeset for help on using the changeset viewer.