Changeset 1112b76 in git for coeffs/test.cc
- Timestamp:
- Jun 22, 2010, 12:41:01 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d61b83a9e2debd2805137931b5341399516d2a63
- Parents:
- d4531110717a559c771df1b82982574879ac0fc5
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-06-22 12:41:01+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:16+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
coeffs/test.cc
rd45311 r1112b76 2 2 3 3 #include <auxiliary.h> 4 4 5 #include <coeffs.h> 5 6 #include <numbers.h> … … 39 40 40 41 41 bool Test(const n_coeffType type )42 bool Test(const n_coeffType type, void* p = NULL) 42 43 { 43 44 … … 45 46 "]: -----------------------" << endl; 46 47 47 const coeffs r = nInitChar( type, NULL);48 const coeffs r = nInitChar( type, p ); 48 49 49 50 assume( r != NULL ); … … 143 144 #ifdef HAVE_RINGS 144 145 type = nRegister( n_Z2m, nr2mInitChar); assume( type == n_Z2m ); 145 if( Test(type ) )146 if( Test(type, (void*) 2) ) 146 147 c ++; 147 148 #endif … … 150 151 #ifdef HAVE_RINGS 151 152 type = nRegister( n_Zn, nrnInitChar); assume( type == n_Zn ); 152 if( Test(type ) )153 if( Test(type, (void*) 3) ) 153 154 c ++; 154 155 /* BUG: … … 158 159 #0 0x00007ffff7b91f1b in __gmpz_set () from /usr/lib/libgmp.so.10 159 160 #1 0x00000000004177a5 in nrnSetExp (m=0, r=0x7ffff7f44ae8) at rmodulon.cc:549 161 160 162 #2 0x0000000000417814 in nrnInitExp (m=0, r=0x7ffff7f44ae8) at rmodulon.cc:556 163 161 164 #3 0x0000000000416122 in nrnInitChar (r=0x7ffff7f44ae8) at rmodulon.cc:34 162 165 #4 0x0000000000413278 in nInitChar (t=n_Zn, parameter=0x0) at numbers.cc:146
Note: See TracChangeset
for help on using the changeset viewer.