Changeset 2984
- Timestamp:
- 07/02/08 06:31:46 (5 months ago)
- Files:
-
- 1 modified
-
trunk/linbox/examples/smith.C (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/linbox/examples/smith.C
r2570 r2984 39 39 #include "linbox/field/unparametric.h" 40 40 #include "linbox/field/local2_32.h" 41 #include "linbox/field/ntl-ZZ.h"42 41 //#include "linbox/field/PIR-modular-int32.h" 43 42 //#include "linbox/algorithms/2local-smith.h" … … 51 50 52 51 using namespace LinBox; 53 #ifndef BIG 52 53 #if __LINBOX_HAVE_NTL 54 #include "linbox/field/ntl-ZZ.h" 55 #include "linbox/field/PIR-ntl-ZZ_p.h" 56 typedef PIR_ntl_ZZ_p PIR; 57 #else 58 // #ifndef BIG 54 59 #include "linbox/field/PIR-modular-int32.h" 55 60 typedef PIRModular<LinBox::int32> PIR; 56 #else57 #include "linbox/field/PIR-ntl-ZZ_p.h"58 typedef PIR_ntl_ZZ_p PIR;59 61 #endif 60 61 62 62 63 … … 100 101 if (algo == "adaptive") 101 102 { 103 #if __LINBOX_HAVE_NTL 102 104 typedef NTL_ZZ Ints; 103 105 Ints Z; … … 119 121 120 122 cout << "T" << n << "adaptive" << m << " := "; 123 #else 124 cerr << "Sorry NTL required for adaptive smith form" << std::endl; 125 #endif 121 126 122 127 }
