- Timestamp:
- Mar 21, 2012, 7:02:30 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- dd668fd21e0141dd6716d45d63f34e6ca84d230f
- Parents:
- 1cbc287030d12dc1184a3649787c929f7edcf35f
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-21 19:02:30+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:34+01:00
- Location:
- libpolys/coeffs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/coeffs.h
r1cbc28 rf630e4 209 209 #endif 210 210 211 number nNULL; /* the 0 as constant */ 211 /// the 0 as constant, NULL by default 212 number nNULL; 212 213 int char_flag; 213 214 int ref; -
libpolys/coeffs/numbers.cc
r1cbc28 rf630e4 47 47 //static int characteristic = 0; 48 48 extern int IsPrime(int p); 49 50 /*0 implementation*/51 number nNULL; /* the 0 as constant */52 49 53 50 n_Procs_s *cf_root=NULL; … … 301 298 if(n->cfWriteShort==NULL) 302 299 n->cfWriteShort = n->cfWriteLong; 303 304 #ifndef NDEBUG 300 305 301 assume(n->nCoeffIsEqual!=NULL); 306 if(n->cfKillChar==NULL) Warn("cfKillChar is NULL for coeff %d",t); 307 assume(n->cfSetChar!=NULL); 302 assume(n->cfSetChar!=NULL); 308 303 assume(n->cfMult!=NULL); 309 304 assume(n->cfSub!=NULL); … … 337 332 assume(n->cfParameter!=NULL); 338 333 assume(n->cfParDeg!=NULL); 339 340 if(n->cfWriteLong==NULL) Warn("cfWrite is NULL for coeff %d",t); 341 if(n->cfWriteShort==NULL) Warn("cfWriteShort is NULL for coeff %d",t); 342 334 343 335 assume(n->cfRead!=NULL); 344 336 assume(n->cfNormalize!=NULL); … … 365 357 #endif 366 358 assume(n->type==t); 367 #endif 359 360 #ifndef NDEBUG 361 if(n->cfKillChar==NULL) Warn("cfKillChar is NULL for coeff %d",t); 362 if(n->cfWriteLong==NULL) Warn("cfWrite is NULL for coeff %d",t); 363 if(n->cfWriteShort==NULL) Warn("cfWriteShort is NULL for coeff %d",t); 364 #endif 365 366 if( n->nNULL == NULL ) 367 n->nNULL = n_Init(0, n); // may still remain NULL 368 368 } 369 369 else
Note: See TracChangeset
for help on using the changeset viewer.