source: git/kernel/polys.cc @ a8516a

spielwiese
Last change on this file since a8516a was a8516a, checked in by Hans Schoenemann <hannes@…>, 13 years ago
fix: option handling during ring change (rChangeCurrRing)
  • Property mode set to 100644
File size: 308 bytes
Line 
1#include "mod2.h"
2
3#include <omalloc/omalloc.h>
4#include <misc/auxiliary.h>
5#include <misc/options.h>
6
7#include "polys.h"
8
9ring  currRing = NULL;
10ideal currQuotient = NULL;
11
12void rChangeCurrRing(ring r)
13{
14   currRing = r;
15   currQuotient = r->qideal;
16   test &= ~ TEST_RINGDEP_OPTS;
17   test |= r->options;
18}
Note: See TracBrowser for help on using the repository browser.