Changeset 047597 in git for Singular/misc_ip.cc


Ignore:
Timestamp:
Sep 14, 2011, 6:57:01 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a55ef037cdd445d3fc4149a3d95a4ebaecf3c2f5
Parents:
1d768d19dda8cae4ddc99de63c5a4e9e6e563ad1
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-14 18:57:01+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:48+01:00
Message:
FIX: registration of naInitChar and ntInitChar (siInit in Singular/misc_ip.cc)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    r1d768d r047597  
    1414
    1515// include header files
     16#include <misc/auxiliary.h>
    1617#include <kernel/mod2.h>
    17 #include <misc/auxiliary.h>
    1818
    1919#ifdef HAVE_FACTORY
     
    2222#endif
    2323
     24#include <coeffs/si_gmp.h>
     25#include <coeffs/coeffs.h>
     26
     27#include <polys/ext_fields/algext.h>
     28#include <polys/ext_fields/transext.h>
     29
    2430#include "misc_ip.h"
    2531#include "ipid.h"
    26 
    27 #include <coeffs/si_gmp.h>
    28 #include <coeffs/coeffs.h>
    29 
    3032#include "feOpt.h"
    3133#include "silink.h"
     
    11111113  memset(&sLastPrinted,0,sizeof(sleftv));
    11121114  sLastPrinted.rtyp=NONE;
    1113   extern int iiInitArithmetic();
    1114   iiInitArithmetic();
     1115 
     1116  extern int iiInitArithmetic(); iiInitArithmetic(); // iparith.cc
     1117
    11151118  basePack=(package)omAlloc0(sizeof(*basePack));
    11161119  currPack=basePack;
     
    11211124  currPackHdl=h;
    11221125  basePackHdl=h;
    1123   coeffs_BIGINT=nInitChar(n_Q,NULL);
     1126
     1127  coeffs_BIGINT = nInitChar(n_Q,NULL);
     1128 
     1129#if 1
     1130   // def HAVE_POLYEXTENSIONS
     1131  if(TRUE)
     1132  {
     1133    n_coeffType type = nRegister(n_algExt, naInitChar);
     1134    assume(type == n_algExt);
     1135     
     1136    type = nRegister(n_transExt, ntInitChar);
     1137    assume(type == n_transExt);
     1138  }
     1139#endif
    11241140
    11251141// random generator: -----------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.