Changeset a89a115 in git


Ignore:
Timestamp:
Jan 27, 2005, 5:35:30 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
c95632f6751087d2f62be544ec7e07d86913a78a
Parents:
35b491070e491129fca66fa0994cc109a9358830
Message:
*hannes: convSingTrPClapP: check for denominator !=1


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

Legend:

Unmodified
Added
Removed
  • kernel/clapconv.cc

    r35b491 ra89a115  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapconv.cc,v 1.1.1.1 2003-10-06 12:15:50 Singular Exp $
     5// $Id: clapconv.cc,v 1.2 2005-01-27 16:35:30 Singular Exp $
    66/*
    77* ABSTRACT: convert data between Singular and factory
     
    507507      for ( i = 1; i <= off; i++ )
    508508        //z->e[i-1]+=exp[i];
    509         napAddExp(z,i,exp[i]);
     509        napAddExp(z,i,exp[i]);
    510510      pGetCoeff(term)=(number)omAlloc0Bin(rnumber_bin);
    511511      ((lnumber)pGetCoeff(term))->z=z;
     
    632632    nNormalize(pGetCoeff(p));
    633633    CanonicalForm term=convSingTrClapP(((lnumber)pGetCoeff(p))->z);
     634
     635    if ((((lnumber)pGetCoeff(p))->n!=NULL)
     636    && (!errorreported))
     637    {
     638      WerrorS("conversion error: denominator!= 1");
     639    }
     640
    634641    for ( int i = 1; i <= n; i++ )
    635642    {
Note: See TracChangeset for help on using the changeset viewer.