Changeset 0e4b5f in git


Ignore:
Timestamp:
Jun 23, 2010, 5:51:30 PM (14 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
179c93c519e9fe3fc5335cecd0323310a6e65093
Parents:
11206af0ff9f46e2f606e6ddd16d2ea630563cf6
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-06-23 17:51:30+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:18+01:00
Message:
Minor rearrangements + non-zero parameter for Zp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • coeffs/test.cc

    r11206af r0e4b5f  
    127127
    128128  // rings needed for: n_Zp_a, n_Q_a ?
     129
     130  type = nRegister( n_Zp, npInitChar); assume( type == n_Zp );
     131  if( Test(type, (void*) 11) )
     132    c ++;
     133
    129134 
    130135  type = nRegister( n_Q, nlInitChar); assume( type == n_Q );
     136  if( Test(type) )
     137    c ++;
     138
     139  type = nRegister( n_R, nrInitChar); assume( type == n_R );
    131140  if( Test(type) )
    132141    c ++;
     
    139148  if( Test(type) )
    140149    c ++;
    141  
    142   type = nRegister( n_R, nrInitChar); assume( type == n_R );
     150
     151
     152#ifdef HAVE_RINGS
     153  type = nRegister( n_Z, nrzInitChar); assume( type == n_Z );
    143154  if( Test(type) )
    144155    c ++;
    145156
    146   type = nRegister( n_Zp, npInitChar); assume( type == n_Zp );
    147   if( Test(type) )
    148     c ++;
    149 
    150 #ifdef HAVE_RINGS
    151157  type = nRegister( n_Z2m, nr2mInitChar); assume( type == n_Z2m );
    152158  if( Test(type, (void*) 2) )
     
    154160
    155161  type = nRegister( n_Zn, nrnInitChar); assume( type == n_Zn );
     162
     163  // BUG here!
     164  // TODO: Frank (cmp. with the previous code)
     165  // Note: the parameter 'm' is ignored now in nrnSetExp!!!
    156166  if( Test(type, (void*) 3) )
    157167    c ++;
     
    159169#endif
    160170
    161   /*type = nRegister( n_GF, nfInitChar); assume( type == n_GF );
    162   if( Test(type) )
    163     c ++;*/
    164 
    165   type = nRegister( n_Z, nrzInitChar); assume( type == n_Z );
     171/* 
     172  // TODO: Hans (the following needs resources, e.g. feFopen)
     173  type = nRegister( n_GF, nfInitChar); assume( type == n_GF );
    166174  if( Test(type) )
    167175    c ++;
    168 
     176*/
     177 
    169178  return c;
    170179
Note: See TracChangeset for help on using the changeset viewer.