- Timestamp:
- Mar 2, 2020, 1:59:11 PM (4 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- cb06ace2199aca68931c89e6c242ddd8d0495182
- Parents:
- 0762d1992787f92d68136edec0cb298d13afc382
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r0762d19 r6adc9e 4498 4498 lists l=(lists)v->Data(); 4499 4499 long mm=(long)atGet(v,"maxExp",INT_CMD); 4500 if (mm==0) mm=0x7fff;4501 4500 int isLetterplace=(int)(long)atGet(v,"isLetterplaceRing",INT_CMD); 4502 4501 ring r=rCompose(l,TRUE,mm,isLetterplace); … … 4843 4842 if (res->data!=NULL) 4844 4843 { 4845 long mm=r->bitmask; 4846 if (mm>MAX_INT_VAL) mm=MAX_INT_VAL; 4847 atSet(res,omStrDup("maxExp"),(void*)mm,INT_CMD); 4844 long mm=r->wanted_maxExp; 4845 if (mm!=0) atSet(res,omStrDup("maxExp"),(void*)mm,INT_CMD); 4848 4846 return FALSE; 4849 4847 } -
Singular/ipshell.cc
r0762d19 r6adc9e 2783 2783 return TRUE; 2784 2784 } 2785 if (bitmask!=0) R->bitmask=bitmask;2785 if (bitmask!=0) { R->bitmask=bitmask; R->wanted_maxExp=bitmask; } 2786 2786 return FALSE; 2787 2787 } … … 2934 2934 } 2935 2935 #endif 2936 if ( bitmask!=0x7fff) R->bitmask=bitmask;2936 if ((bitmask!=0)&&(R->wanted_maxExp==0)) R->wanted_maxExp=bitmask; 2937 2937 rComplete(R); 2938 2938 … … 5309 5309 else if ((*iv)[1]==ringorder_L) 5310 5310 { 5311 R-> bitmask=(*iv)[2]*2+1;5311 R->wanted_maxExp=(*iv)[2]*2+1; 5312 5312 n--; 5313 5313 }
Note: See TracChangeset
for help on using the changeset viewer.