Changeset e0d8d1 in git


Ignore:
Timestamp:
Mar 23, 2011, 3:18:18 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
5a3ae8ca16d74d30c86850f9a9454ca5f16a31d7
Parents:
a4081e52fffd1c1c6450f2811d458e9ebc4e2823
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-03-23 15:18:18+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:10+01:00
Message:
fixed prCopy.*
Location:
libpolys/polys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/Makefile.am

    ra4081e5 re0d8d1  
    1414        operations/pShallowCopyDelete.cc operations/p_Mult_q.cc \
    1515        templates/p_Procs_Lib.cc \
    16         polys0.cc prCopy.cc prCopyTemplate.cc \
     16        polys0.cc prCopy.cc \
    1717        kbuckets.cc sbuckets.cc templates/p_Procs.cc weight.cc
    1818
     
    7171
    7272dynamic_modules: ${module_LTLIBRARIES}
     73
     74prCopy.inc: prCopy.pl
     75        perl prCopy.pl > prCopy.xx && mv prCopy.xx prCopy.inc
     76
     77prCopy.o: prCopy.inc
  • libpolys/polys/prCopy.cc

    ra4081e5 re0d8d1  
    99#include "polys/config.h"
    1010#include <omalloc/omalloc.h>
     11#include <polys/monomials/ring.h>
    1112#include <polys/monomials/p_polys.h>
    1213#include <coeffs/numbers.h>
    13 // #include <polys/structs.h>
    1414#include <polys/monomials/ring.h>
    15 // #include <polys/ideals.h>
     15#include <polys/simpleideals.h>
    1616// #include <polys/sbuckets.h>
    1717
     
    3030}
    3131
    32 // #include <polys/prCopy.inc>
     32#include <polys/prCopy.inc>
    3333
    3434/////////////////////////////////////////////////////////////////////////
     
    8484}
    8585
    86 poly prShallowCopyR(poly p, ring r, ring dest_r = currRing)
     86poly prShallowCopyR(poly p, ring r, ring dest_r)
    8787{
    8888  return pr_Copy_NoREqual_NSimple_Sort(p, r, dest_r);
  • libpolys/polys/prCopyMacros.h

    ra4081e5 re0d8d1  
    3939#define PR_NUMBER_SIMPLE_NAME NSimple
    4040#else
    41 #define PR_NCOPY(n, r) n_Copy(n,r)
    42 #define PR_NDELETE(n, r) n_Delete(n,r)
     41#define PR_NCOPY(n, r) n_Copy(n,r->cf)
     42#define PR_NDELETE(n, r) n_Delete(n,r->cf)
    4343#define PR_NUMBER_SIMPLE_NAME NoNSimple
    4444#endif
Note: See TracChangeset for help on using the changeset viewer.