Changeset d1a99e in git for Singular


Ignore:
Timestamp:
Aug 5, 2004, 11:00:16 AM (20 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'dce4ad324f6e216ae93a99713959b505fb6213d3')
Children:
6635a7ebd7c9484a9baaa900482f90977cd9bfd9
Parents:
15c78e1d685cc70bd014c222122814d14708a9f4
Message:
*hannes: check args for coef


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r15c78e rd1a99e  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.326 2004-08-04 19:10:07 levandov Exp $ */
     4/* $Id: iparith.cc,v 1.327 2004-08-05 09:00:09 Singular Exp $ */
    55
    66/*
     
    14851485static BOOLEAN jjCOEF(leftv res, leftv u, leftv v)
    14861486{
    1487   res->data=(char *)mpCoeffProc((poly)u->Data(),(poly)v->Data());
     1487  poly p=(poly)v->Data();
     1488  if ((p==NULL)||(pNext(p)!=NULL)) return TRUE;
     1489  res->data=(char *)mpCoeffProc((poly)u->Data(),p /*(poly)v->Data()*/);
    14881490  return FALSE;
    14891491}
     
    15081510    pSetExp(p, i, 1);
    15091511  }
     1512  pSetm(p);
    15101513  res->data = (void*)idCoeffOfKBase((ideal)(u->Data()),
    15111514                                    (ideal)(v->Data()), p);
Note: See TracChangeset for help on using the changeset viewer.