Changeset d61b83a in git


Ignore:
Timestamp:
Jun 22, 2010, 6:02:31 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
5e304697ada5eeb26249324d707786c8aa0d352c
Parents:
1112b76bd3a75edc61ead1f0c7a1c943aac8fa65
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-06-22 18:02:31+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:16+01:00
Message:
test.cc: cleanup + todos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • coeffs/test.cc

    r1112b76 rd61b83a  
    124124 
    125125  n_coeffType type;
     126
     127  // TODO: n_Zp, n_GF, n_Zp_a, n_Q_a ?
    126128 
    127129  type = nRegister( n_Q, nlInitChar); assume( type == n_Q );
     
    146148  if( Test(type, (void*) 2) )
    147149    c ++;
    148 #endif
    149150
    150 
    151 #ifdef HAVE_RINGS
    152151  type = nRegister( n_Zn, nrnInitChar); assume( type == n_Zn );
    153152  if( Test(type, (void*) 3) )
    154153    c ++;
    155 /* BUG:
    156 Program received signal SIGSEGV, Segmentation fault.
    157 0x00007ffff7b91f1b in __gmpz_set () from /usr/lib/libgmp.so.10
    158 (gdb) bt
    159 #0  0x00007ffff7b91f1b in __gmpz_set () from /usr/lib/libgmp.so.10
    160 #1  0x00000000004177a5 in nrnSetExp (m=0, r=0x7ffff7f44ae8) at rmodulon.cc:549
    161154
    162 #2  0x0000000000417814 in nrnInitExp (m=0, r=0x7ffff7f44ae8) at rmodulon.cc:556
    163 
    164 #3  0x0000000000416122 in nrnInitChar (r=0x7ffff7f44ae8) at rmodulon.cc:34
    165 #4  0x0000000000413278 in nInitChar (t=n_Zn, parameter=0x0) at numbers.cc:146
    166 #5  0x0000000000402f10 in Test (type=n_Zn) at test.cc:47
    167 rmodulon.cc:549       mpz_set(r->nrnModul, r->ringflaga);
    168 (gdb) l
    169 544         r->nrnModul = (int_number) omAllocBin(gmp_nrz_bin);
    170 545         mpz_init(r->nrnModul);
    171 546         nrnMinusOne = (int_number) omAllocBin(gmp_nrz_bin);
    172 547         mpz_init(nrnMinusOne);
    173 548       }
    174 rmodulon.cc:549       mpz_set(r->nrnModul, r->ringflaga);
    175 550       mpz_pow_ui(r->nrnModul, r->nrnModul, nrnExponent);
    176 551       mpz_sub_ui(nrnMinusOne, r->nrnModul, 1);
    177 552     }
    178 553
    179 (gdb) p r->nrnModul
    180 $1 = (int_number) 0x7ffff7f461a8
    181 (gdb) p r->ringflaga
    182 $2 = (int_number) 0x0
    183 */ 
    184 
     155//  n_Z, // TODO?
     156//  n_Zpn, // no longer exists?
    185157#endif
    186158
Note: See TracChangeset for help on using the changeset viewer.