Changeset abca391 in git
- Timestamp:
- Jun 21, 2010, 8:10:38 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- d4531110717a559c771df1b82982574879ac0fc5
- Parents:
- f1c465fbf33937cf812c6bfc9bdc7a4e5c585fd4
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-06-21 20:10:38+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
rf1c465f rabca391 140 140 c ++; 141 141 142 143 #ifdef HAVE_RINGS 144 type = nRegister( n_Z2m, nr2mInitChar); assume( type == n_Z2m ); 145 if( Test(type) ) 146 c ++; 147 #endif 148 149 142 150 #ifdef HAVE_RINGS 143 151 type = nRegister( n_Zn, nrnInitChar); assume( type == n_Zn ); 144 152 if( Test(type) ) 145 153 c ++; 154 /* BUG: 155 Program received signal SIGSEGV, Segmentation fault. 156 0x00007ffff7b91f1b in __gmpz_set () from /usr/lib/libgmp.so.10 157 (gdb) bt 158 #0 0x00007ffff7b91f1b in __gmpz_set () from /usr/lib/libgmp.so.10 159 #1 0x00000000004177a5 in nrnSetExp (m=0, r=0x7ffff7f44ae8) at rmodulon.cc:549 160 #2 0x0000000000417814 in nrnInitExp (m=0, r=0x7ffff7f44ae8) at rmodulon.cc:556 161 #3 0x0000000000416122 in nrnInitChar (r=0x7ffff7f44ae8) at rmodulon.cc:34 162 #4 0x0000000000413278 in nInitChar (t=n_Zn, parameter=0x0) at numbers.cc:146 163 #5 0x0000000000402f10 in Test (type=n_Zn) at test.cc:47 164 rmodulon.cc:549 mpz_set(r->nrnModul, r->ringflaga); 165 (gdb) l 166 544 r->nrnModul = (int_number) omAllocBin(gmp_nrz_bin); 167 545 mpz_init(r->nrnModul); 168 546 nrnMinusOne = (int_number) omAllocBin(gmp_nrz_bin); 169 547 mpz_init(nrnMinusOne); 170 548 } 171 rmodulon.cc:549 mpz_set(r->nrnModul, r->ringflaga); 172 550 mpz_pow_ui(r->nrnModul, r->nrnModul, nrnExponent); 173 551 mpz_sub_ui(nrnMinusOne, r->nrnModul, 1); 174 552 } 175 553 176 (gdb) p r->nrnModul 177 $1 = (int_number) 0x7ffff7f461a8 178 (gdb) p r->ringflaga 179 $2 = (int_number) 0x0 180 */ 181 182 #endif 146 183 147 184 148 type = nRegister( n_Z2m, nr2mInitChar); assume( type == n_Z2m );149 if( Test(type) )150 c ++;151 #endif152 185 153 186 return c;
Note: See TracChangeset
for help on using the changeset viewer.