- Timestamp:
- Mar 19, 2022, 4:40:00 PM (2 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- a6029b833a41cc3e5095d46da10d0d366cf45c4f
- Parents:
- 9d46c62371afe083a04695cefe80eff68e050fdb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/numbers.cc
r9d46c62 ra83b1f 327 327 } 328 328 329 static const char *ndRead(const char * s, number *, const coeffs r) 330 { 331 Werror("cfRead is undefined for %s",nCoeffString(r)); 332 return s; 333 } 334 static nMapFunc ndSetMap(const coeffs src, const coeffs dst) 335 { 336 if (src==dst) return ndCopyMap; 337 Werror("cfSetMap is undefined for %s",nCoeffString(dst)); 338 return NULL; 339 } 329 340 330 341 static BOOLEAN ndCoeffIsEqual(const coeffs r, n_coeffType n, void *) … … 444 455 #endif 445 456 457 // report error, if not redefined 458 n->cfRead=ndRead; 459 n->cfSetMap=ndSetMap; 460 446 461 #ifdef LDEBUG 447 462 n->cfDBTest=ndDBTest; … … 506 521 507 522 508 if(n->cfRead==NULL) PrintS("cfRead missing\n");509 523 if(n->cfGreater==NULL) PrintS("cfGreater missing\n"); 510 524 if(n->cfEqual==NULL) PrintS("cfEqual missing\n"); … … 513 527 if(n->cfIsMOne==NULL) PrintS("cfIsMOne missing\n"); 514 528 if(n->cfGreaterZero==NULL) PrintS("cfGreaterZero missing\n"); 515 if(n->cfSetMap==NULL) PrintS("cfSetMap missing\n"); 529 /* error reporter: 530 if(n->cfRead==ndRead) PrintS("cfRead missing\n"); 531 if(n->cfSetMap==ndSetMap) PrintS("cfSetMap missing\n"); 532 */ 516 533 517 534 assume(n->type==t);
Note: See TracChangeset
for help on using the changeset viewer.