Changeset b27003e in git
- Timestamp:
- Dec 9, 2008, 6:32:52 PM (15 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- d141f0ace180cabeccf7e5bfb22a69f529547357
- Parents:
- a470ebe18bdea9bcb99b87e3b9d94210efd4d584
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/attrib.cc
ra470eb rb27003e 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: attrib.cc,v 1.3 0 2008-09-19 14:06:00 SingularExp $ */4 /* $Id: attrib.cc,v 1.31 2008-12-09 17:32:52 levandov Exp $ */ 5 5 6 6 /* … … 316 316 res->data=(void *)(((ring)v->Data())->OrdSgn==1); 317 317 } 318 #ifdef HAVE_SHIFTBBA 319 else if ((strcmp(name,"isLPring")==0) 320 &&(((t=v->Typ())==RING_CMD)||(t==QRING_CMD))) 321 { 322 res->rtyp=INT_CMD; 323 res->data=(void *)(((ring)v->Data())->isLPring); 324 } 325 #endif 318 326 else 319 327 { … … 349 357 if (c->Typ()!=INT_CMD) 350 358 { 351 WerrorS("attrib isSB must be int");359 WerrorS("attribute isSB must be int"); 352 360 return TRUE; 353 361 } … … 367 375 if (c->Typ()!=INT_CMD) 368 376 { 369 WerrorS("attrib `rank` must be int");377 WerrorS("attribute `rank` must be int"); 370 378 return TRUE; 371 379 } … … 376 384 &&(((t=v->Typ())==RING_CMD)||(t==QRING_CMD))) 377 385 { 378 WerrorS("can not set attribut `global`");386 WerrorS("can not set attribute `global`"); 379 387 return TRUE; 380 388 } 389 #ifdef HAVE_SHIFTBBA 390 else if ((strcmp(name,"isLPring")==0) 391 &&(((t=v->Typ())==RING_CMD)||(t==QRING_CMD))) 392 { 393 if (c->Typ()==INT_CMD) 394 ((ring)v->Data())->isLPring=(int)(long)c->Data(); 395 else 396 { 397 WerrorS("attribute `isLPring` must be int"); 398 return TRUE; 399 } 400 } 401 #endif 381 402 else 382 403 { -
kernel/structs.h
ra470eb rb27003e 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: structs.h,v 1.5 7 2008-12-08 15:00:43 SingularExp $ */6 /* $Id: structs.h,v 1.58 2008-12-09 17:32:52 levandov Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 616 616 #endif 617 617 618 #ifdef HAVE_SHIFTBBA 619 short isLPring; /* 0 for non-letterplace rings, otherwise the number of LP blocks, at least 1, known also as lV */ 620 #endif 618 621 619 622 BOOLEAN VectorOut;
Note: See TracChangeset
for help on using the changeset viewer.