Changeset 5fb90e in git for kernel


Ignore:
Timestamp:
Dec 14, 2011, 12:16:56 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
69ed5243c7b1d76bdf25206c9670341020c3e5d9
Parents:
635774baf3364550ff343f7f4de3f6c935d61e42
Message:
chg: move P_setGlobals to ring.cc, to be called from rComplete
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/polys.cc

    r635774 r5fb90e  
    1010ideal currQuotient = NULL;
    1111
    12 /* -------------------------------------------------------- */
    13 /*2
    14 * change all global variables to fit the description of the new ring
    15 */
    16 
    17 void p_SetGlobals(const ring r, BOOLEAN complete)
    18 {
    19 // // //  if (r->ppNoether!=NULL) p_Delete(&r->ppNoether,r); // ???
    20 
    21   if (complete)
    22   {
    23     test &= ~ TEST_RINGDEP_OPTS;
    24     test |= r->options;
    25   }
    26 }
    27 
    2812void rChangeCurrRing(ring r)
    2913{
     
    3317   nSetChar(r->cf);
    3418   //------------ global variables related to polys -------------------
    35    p_SetGlobals(r);
    3619}
    3720/*
  • kernel/polys.h

    r635774 r5fb90e  
    1414extern ring currRing;
    1515void rChangeCurrRing(ring r);
    16 
    17 void p_SetGlobals(const ring r, BOOLEAN complete = TRUE);
    1816
    1917#include <coeffs/numbers.h>
Note: See TracChangeset for help on using the changeset viewer.