Changeset 0a52b49 in git


Ignore:
Timestamp:
Oct 8, 2009, 12:43:33 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c1c65551e4b3a0de0b13ddf30446f6e9569681b5')
Children:
d065cd984dcdbaa794be8a7a43c69e54c1c3c000
Parents:
e2afcedc88f05c860f7b86aa70958e538eb8727f
Message:
*hannes: longalg stuff


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

Legend:

Unmodified
Added
Removed
  • kernel/clapconv.cc

    re2afced r0a52b49  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapconv.cc,v 1.19 2009-09-24 16:37:41 Singular Exp $
     5// $Id: clapconv.cc,v 1.20 2009-10-08 10:43:33 Singular Exp $
    66/*
    77* ABSTRACT: convert data between Singular and factory
     
    334334      }
    335335    }
    336     if ( (e = napGetExp( p, 1 )) != 0 )
     336    if ( (e = p_GetExp( p, 1, r->algring )) != 0 )
    337337      term *= power( a , e );
    338338    result += term;
     
    393393    if (naMinimalPoly!=NULL)
    394394    {
    395       if (napGetExp(a,1) >= napGetExp(naMinimalPoly,1))
     395      if (p_GetExp(a,1,currRing->algring) >= p_GetExp(naMinimalPoly,1,currRing->algring))
    396396        a = napRemainder( a, naMinimalPoly);
    397397    }
Note: See TracChangeset for help on using the changeset viewer.