Changeset f30702 in git


Ignore:
Timestamp:
Apr 8, 2008, 6:59:53 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
b22f61450100a42993ed876b57da65d6ee72ef16
Parents:
9b87a3e8e48687ab61432c83aa6566b20acb73f9
Message:
*hannes: we do not need p_SetComp here


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

Legend:

Unmodified
Added
Removed
  • kernel/clapconv.cc

    r9b87a3 rf30702  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapconv.cc,v 1.10 2008-01-07 13:36:16 Singular Exp $
     5// $Id: clapconv.cc,v 1.11 2008-04-08 16:59:53 Singular Exp $
    66/*
    77* ABSTRACT: convert data between Singular and factory
     
    189189    for ( int i = 1; i <= r->N; i++ )
    190190      p_SetExp( term, i, exp[i], r);
    191     if (rRing_has_Comp(r)) p_SetComp(term, 0, r);
     191    //if (rRing_has_Comp(r)) p_SetComp(term, 0, r); // done by p_Init
    192192    if ( f.isImm() )
    193193      pGetCoeff( term ) = n_Init( f.intval(), r );
     
    404404      for ( i = 1; i <= pVariables; i++ )
    405405        pSetExp( term, i , exp[i+var_start]);
    406       if (rRing_has_Comp(currRing->algring))
    407         p_SetComp(term, 0, currRing->algring);
     406      //if (rRing_has_Comp(currRing->algring)) p_SetComp(term, 0, currRing->algring); // done by pInit
    408407      if (par_start==0)
    409408      {
     
    587586    for ( int i = 1; i <= pVariables; i++ )
    588587      pSetExp( term, i ,exp[i]);
    589     if (rRing_has_Comp(currRing))
    590         p_SetComp(term, 0, currRing);
     588    //if (rRing_has_Comp(currRing)) p_SetComp(term, 0, currRing); // done by pInit
    591589    pGetCoeff(term)=(number)omAlloc0Bin(rnumber_bin);
    592590    ((lnumber)pGetCoeff(term))->z=convFactoryPSingTr( f );
     
    683681    for ( int i = 1; i <= pVariables; i++ )
    684682      pSetExp( term, i, exp[i]);
    685     if (rRing_has_Comp(currRing))
    686         p_SetComp(term, 0, currRing);
     683    //if (rRing_has_Comp(currRing)) p_SetComp(term, 0, currRing); // done by pInit
    687684    pGetCoeff( term ) = (number) gf_value (f);
    688685    pSetm( term );
Note: See TracChangeset for help on using the changeset viewer.