Changeset 32248f in git for factory/libfac


Ignore:
Timestamp:
Feb 13, 2012, 7:07:17 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
5b3e93defcacc9bde8afa447cca19e1f795204fc
Parents:
e65b1a45b354104a0af36d13f01356b8fd81f012
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-13 19:07:17+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-13 19:36:36+01:00
Message:
removed duplicating template instantiations from factory/libfac/factor/tmpl_inst.cc

FIX: same template instantiations in factory/libfac/factor/tmpl_inst.cc and factory/ftmpl_inst.cc
CHG: one should not include "factory.h/factoryconf.h" within internal factory code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/libfac/factor/tmpl_inst.cc

    re65b1a4 r32248f  
    44////////////////////////////////////////////////////////////
    55
    6 // #include <factory/templates/ftmpl_array.cc>
     6#include "config.h"
    77
    8 #include "factory.h"
     8// #include <factory/factoryconf.h>
     9
     10// #include "factory.h"
     11#include "cf_iter.h"
     12#include "canonicalform.h"
     13#include "cf_assert.h"
     14#include "cf_reval.h"
    915
    1016#include "templates/ftmpl_array.cc"
     
    1319#include "templates/ftmpl_functions.h"
    1420#include "templates/ftmpl_matrix.cc"
    15 
    16 template class Factor<CanonicalForm>;
    17 template class List<CFFactor>;
    18 template class ListIterator<CFFactor>;
    19 template class List<CanonicalForm>;
    20 template class ListIterator<CanonicalForm>;
    21 template class Array<CanonicalForm>;
    22 template class List<MapPair>;
    23 template class ListIterator<MapPair>;
    24 template class Matrix<CanonicalForm>;
    25 template class SubMatrix<CanonicalForm>;
    26 
    27 #ifndef NOSTREAMIO
    28 template OSTREAM & operator << ( OSTREAM &, const List<CanonicalForm> & );
    29 template OSTREAM & operator << ( OSTREAM &, const List<CFFactor> & );
    30 template OSTREAM & operator << ( OSTREAM &, const List<MapPair> & );
    31 template OSTREAM & operator << ( OSTREAM &, const Array<CanonicalForm> & );
    32 template OSTREAM & operator << ( OSTREAM &, const Factor<CanonicalForm> & );
    33 //template OSTREAM & operator << ( OSTREAM &, const Matrix<CanonicalForm> & );
    34 #endif
    35 
    36 template List<CFFactor> Union ( const List<CFFactor>&, const List<CFFactor>& );
    37 
    38 /*
    39 template CanonicalForm crossprod ( const Array<CanonicalForm>&, const Array<CanonicalForm>& );
    40 template CanonicalForm prod ( const Array<CanonicalForm>& );
    41 */
    42 
    43 template CanonicalForm tmax ( const CanonicalForm&, const CanonicalForm& );
    44 template CanonicalForm tmin ( const CanonicalForm&, const CanonicalForm& );
    45 
    46 template int tmax ( const int&, const int& );
    47 template int tmin ( const int&, const int& );
    4821
    4922// place here your own template stuff, not instantiated by factory
     
    6033template class List<SForm>;
    6134template class ListIterator<SForm>;
    62 
    63 template List<CanonicalForm> Union ( const List<CanonicalForm>&, const List<CanonicalForm>& );
    64 template List<CanonicalForm> Difference ( const List<CanonicalForm>&, const List<CanonicalForm>& );
    6535
    6636#ifndef NOSTREAMIO
     
    8656template class Array<int>;
    8757template class Array<Variable>;
    88 template class Array<REvaluation>;
    8958
    9059// for database
Note: See TracChangeset for help on using the changeset viewer.