Changeset f71c1a in git
- Timestamp:
- Jan 25, 2017, 12:31:04 PM (6 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- b0e6128cd4ba4005d49a91c2e88a53d79972edce
- Parents:
- cd6f8d22526e61cffd63354b5f245ce64bcd288b
- Location:
- factory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factory.cc
rcd6f8d2 rf71c1a 18 18 int CFFactory::currenttype = IntegerDomain; 19 19 20 void21 CFFactory::settype ( int type )22 {23 ASSERT( type==FiniteFieldDomain || type==GaloisFieldDomain || type==IntegerDomain || type==RationalDomain, "illegal basic domain!" );24 currenttype = type;25 }26 27 20 InternalCF * 28 21 CFFactory::basic ( long value ) -
factory/cf_factory.h
rcd6f8d2 rf71c1a 16 16 17 17 #include <factory/cf_gmp.h> 18 #include <factory/cf_assert.h> 18 19 19 20 class InternalCF; … … 26 27 public: 27 28 static int gettype () { return currenttype; } 28 static void settype ( int type ); 29 static void settype ( int type ) 30 { 31 ASSERT( type==FiniteFieldDomain || type==GaloisFieldDomain || type==IntegerDomain || type==RationalDomain, "illegal basic domain!" ); 32 currenttype = type; 33 }; 29 34 static InternalCF * basic ( long value ); 30 35 static InternalCF * basic ( int type, long value );
Note: See TracChangeset
for help on using the changeset viewer.