Changeset 80ca3c in git for kernel/gr_kstd2.cc


Ignore:
Timestamp:
Feb 22, 2012, 9:32:50 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
64f0ca8d7049bea31d0e107cf5c613e0b6ffa5d3
Parents:
1adae39f1ae788b310c426226af46794834f1fac
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-22 21:32:50+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:08+01:00
Message:
NC-subsystem preparations

fix: gnc_GB properly
add: gb_hack.h to help handling the circular dependency (GB&NC)
chg: moved stuff around and misc changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/gr_kstd2.cc

    r1adae39 r80ca3c  
    2121#include <polys/monomials/ring.h>
    2222
     23#include <polys/nc/gb_hack.h>
    2324#include <polys/nc/nc.h>
    2425#include <polys/nc/sca.h>
     
    3233//#include "cntrlc.h"
    3334#include <kernel/ratgring.h>
    34 
    3535#include <kernel/kutil.h>
     36
     37#include <kernel/nc.h>
    3638
    3739#if 0
     
    10431045#define MYTEST 0
    10441046
    1045 ideal gnc_gr_bba(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat)
     1047ideal gnc_gr_bba(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
    10461048{
     1049  const ring save = currRing; if( currRing != _currRing ) rChangeCurrRing(_currRing);
     1050
    10471051#if MYTEST
    10481052   PrintS("<gnc_gr_bba>\n");
     
    12981302#endif
    12991303
     1304  if( currRing != save )     rChangeCurrRing(save);
     1305 
    13001306  return (strat->Shdl);
    13011307}
    13021308
    1303 ideal gnc_gr_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy)
     1309ideal gnc_gr_mora(const ideal F, const ideal Q, const intvec *, const intvec *, kStrategy strat, const ring _currRing)
    13041310{
    1305   PrintS("Sorry, non-commutative mora is not yet implemented!");
    1306   PrintLn();
    1307 
     1311#ifndef NDEBUG
    13081312  // Not yet!
    1309   return NULL;
     1313  WarnS("Sorry, non-commutative mora is not yet implemented!");
     1314#endif
     1315
     1316  return gnc_gr_bba(F, Q, NULL, NULL, strat, _currRing);
    13101317}
    13111318
Note: See TracChangeset for help on using the changeset viewer.