Changeset abca391 in git


Ignore:
Timestamp:
Jun 21, 2010, 8:10:38 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
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
Message:
Rings are compilable, but to be checked due to runtime errors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • coeffs/test.cc

    rf1c465f rabca391  
    140140    c ++;
    141141
     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
    142150#ifdef HAVE_RINGS
    143151  type = nRegister( n_Zn, nrnInitChar); assume( type == n_Zn );
    144152  if( Test(type) )
    145153    c ++;
     154/* BUG:
     155Program received signal SIGSEGV, Segmentation fault.
     1560x00007ffff7b91f1b 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
     164rmodulon.cc:549       mpz_set(r->nrnModul, r->ringflaga);
     165(gdb) l
     166544         r->nrnModul = (int_number) omAllocBin(gmp_nrz_bin);
     167545         mpz_init(r->nrnModul);
     168546         nrnMinusOne = (int_number) omAllocBin(gmp_nrz_bin);
     169547         mpz_init(nrnMinusOne);
     170548       }
     171rmodulon.cc:549       mpz_set(r->nrnModul, r->ringflaga);
     172550       mpz_pow_ui(r->nrnModul, r->nrnModul, nrnExponent);
     173551       mpz_sub_ui(nrnMinusOne, r->nrnModul, 1);
     174552     }
     175553
     176(gdb) p r->nrnModul
     177$1 = (int_number) 0x7ffff7f461a8
     178(gdb) p r->ringflaga
     179$2 = (int_number) 0x0
     180*/ 
     181
     182#endif
    146183
    147184 
    148   type = nRegister( n_Z2m, nr2mInitChar); assume( type == n_Z2m );
    149   if( Test(type) )
    150     c ++;
    151 #endif
    152185 
    153186  return c;
Note: See TracChangeset for help on using the changeset viewer.