Changeset 9bad87 in git


Ignore:
Timestamp:
Dec 1, 2014, 3:08:30 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9051ae1b28cfd810250e83cc073f2a081257372b
Parents:
454dc14408dc3290169a616a7d14f7cfe7b18e30
Message:
aditionl coeff areas require coeff data type in the interpreter
Location:
libpolys/coeffs
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/AE.cc

    r454dc14 r9bad87  
    44
    55
     6#ifdef SINGULAR_4_1
    67
    78using namespace std;
     
    12761277}
    12771278
     1279#endif
  • libpolys/coeffs/AE.h

    r454dc14 r9bad87  
    55#include <gmp.h>
    66#include <omalloc/omalloc.h>
     7#include <misc/auxiliary.h>
     8
     9#ifdef SINGULAR_4_1
    710
    811
     
    108111
    109112#endif
     113#endif
    110114
    111115
  • libpolys/coeffs/AEQ.cc

    r454dc14 r9bad87  
    55
    66
     7#ifdef SINGULAR_4_1
    78
    89using namespace std;
     
    917918}
    918919
     920#endif
  • libpolys/coeffs/AEQ.h

    r454dc14 r9bad87  
    55#include <gmp.h>
    66#include <omalloc/omalloc.h>
     7#include <misc/auxiliary.h>
    78
     9#ifdef SINGULAR_4_1
    810
    911class Q_poly // Klasse von Q_polynomen mit Typ (Grad, Koeffizienten ganzzahlig)
     
    103105
    104106#endif
     107#endif
    105108
    106109
  • libpolys/coeffs/AEp.cc

    r454dc14 r9bad87  
    55
    66
     7#ifdef SINGULAR_4_1
    78
    89
     
    10441045}
    10451046
     1047#endif
  • libpolys/coeffs/AEp.h

    r454dc14 r9bad87  
    55#include <gmp.h>
    66#include <omalloc/omalloc.h>
     7#include <misc/auxiliary.h>
     8
     9#ifdef SINGULAR_4_1
     10
    711
    812
     
    99103
    100104#endif
     105#endif
    101106
    102107
  • libpolys/coeffs/OPAE.cc

    r454dc14 r9bad87  
    88
    99#include <misc/auxiliary.h>
     10
     11#ifdef SINGULAR_4_1
    1012
    1113#include <factory/factory.h>
     
    259261}
    260262
    261 /*
    262 number    nAESetMap        (number a, const coeffs)
    263 {
    264         return a;
    265 }
    266 */
     263nMapFunc  nAESetMap (const coeffs src, const coeffs dst)
     264{
     265  if (src==dst) return nAECopyMap;
     266  else return NULL;
     267}
    267268
    268269void    nAEInpMult       (number &, number, const coeffs)
     
    338339    r->cfDelete= nAEDelete;
    339340
    340     extern nMapFunc npSetMap(const coeffs src, const coeffs dst); // FIXME: BUG?
    341     r->cfSetMap = npSetMap; // WHY??? // TODO: this seems to be a bug!
     341    r->cfSetMap = nAESetMap;
    342342   
    343343    r->cfInpMult=nAEInpMult; //????
     
    353353    return FALSE;
    354354}
    355 
     355#endif
  • libpolys/coeffs/OPAE.h

    r454dc14 r9bad87  
    66
    77#include <coeffs/coeffs.h>
     8#include <misc/auxiliary.h>
     9
     10#ifdef SINGULAR_4_1
    811
    912
     
    5255BOOLEAN nAEClearDenominators  (number a, const coeffs r);//
    5356
    54 
    55 
    5657#endif
     58#endif
  • libpolys/coeffs/OPAEQ.cc

    r454dc14 r9bad87  
    88
    99#include <misc/auxiliary.h>
     10
     11#ifdef SINGULAR_4_1
    1012
    1113#include <factory/factory.h>
     
    344346    return FALSE;
    345347}
    346 
     348#endif
  • libpolys/coeffs/OPAEQ.h

    r454dc14 r9bad87  
    66
    77#include <coeffs/coeffs.h>
     8
     9#ifdef SINGULAR_4_1
    810
    911
     
    5254BOOLEAN nAEQClearDenominators  (number a, const coeffs r);//
    5355
    54 
    55 
    5656#endif
     57#endif
  • libpolys/coeffs/OPAEp.cc

    r454dc14 r9bad87  
    88
    99#include <misc/auxiliary.h>
     10
     11#ifdef SINGULAR_4_1
    1012
    1113#include <factory/factory.h>
     
    369371    return FALSE;
    370372}
    371 
     373#endif
  • libpolys/coeffs/OPAEp.h

    r454dc14 r9bad87  
    77#include <coeffs/coeffs.h>
    88
     9#ifdef SINGULAR_4_1
    910
    1011BOOLEAN n_pAEInitChar(coeffs , void *);
     
    5253BOOLEAN nAEpClearDenominators  (number a, const coeffs r);//
    5354
    54 
    55 
    5655#endif
     56#endif
Note: See TracChangeset for help on using the changeset viewer.