Changeset 5d32fd in git for Singular/extra.cc
- Timestamp:
- Nov 24, 1999, 7:13:23 PM (24 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 4b72f66b46b8b566048c1a700efc18093f7225f0
- Parents:
- e514ee03b6532cbf576ae3600314e75f2b3c5a8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
re514ee r5d32fd 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.1 19 1999-11-24 17:09:34Singular Exp $ */4 /* $Id: extra.cc,v 1.120 1999-11-24 18:13:20 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 52 52 #include "distrib.h" 53 53 #include "prCopy.h" 54 #ifdef HAVE_SPECTRUM 55 #include "spectrum.h" 56 #endif 57 54 58 55 59 // Define to enable many more system commands … … 441 445 else 442 446 { 447 /*==================== spectrum =============================*/ 448 #ifdef HAVE_SPECTRUM 449 if(strcmp(sys_cmd,"spectrum") == 0) 450 { 451 if (h->Typ()!=POLY_CMD) 452 { 453 WerrorS("poly expected"); 454 return TRUE; 455 } 456 if (h->next==NULL) 457 return spectrumProc(res,h); 458 if (h->next->Typ()!=INT_CMD) 459 { 460 WerrorS("poly,int expected"); 461 return TRUE; 462 } 463 if(((int)h->next->Data())==1) 464 return spectrumfProc(res,h); 465 return spectrumProc(res,h); 466 } 467 else 468 { 469 #endif 443 470 /*================= Extended system call ========================*/ 444 471 #ifdef HAVE_EXTENDED_SYSTEM
Note: See TracChangeset
for help on using the changeset viewer.