Changeset 0bb2274 in git for Singular/iparith.cc
- Timestamp:
- Nov 29, 2019, 11:39:26 AM (4 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 4c740db8a56497af8a13d7d7ef781de902adb671
- Parents:
- 8ae6241a27267554ff8052f72c024a7a4e281d45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r8ae6241 r0bb2274 3085 3085 (*ww) -= add_row_shift; 3086 3086 } 3087 unsigned save_opt=si_opt_1; 3088 si_opt_1 |= Sy_bit(OPT_REDTAIL_SYZ); 3087 3089 if ((iiOp == RES_CMD) || (iiOp == MRES_CMD)) 3088 3090 { … … 3168 3170 assume( (r->orderedRes != NULL) || (r->res != NULL) ); // analog for hres... 3169 3171 3172 si_opt_1=save_opt; 3170 3173 return FALSE; 3171 3174 } … … 5048 5051 static BOOLEAN jjSYZYGY(leftv res, leftv v) 5049 5052 { 5053 ideal v_id=(ideal)v->Data(); 5054 #ifdef HAVE_SHIFTBBA 5055 if (rIsLPRing(currRing)) 5056 { 5057 if (currRing->LPncGenCount < IDELEMS(v_id)) 5058 { 5059 Werror("At least %d ncgen variables are needed for this computation.", IDELEMS(v_id)); 5060 return TRUE; 5061 } 5062 } 5063 #endif 5050 5064 intvec *ww=(intvec *)atGet(v,"isHomog",INTVEC_CMD); 5051 5065 intvec *w=NULL; 5052 ideal v_id=(ideal)v->Data();5053 5066 tHomog hom=testHomog; 5054 #ifdef HAVE_SHIFTBBA5055 if (rIsLPRing(currRing))5056 {5057 if (currRing->LPncGenCount < IDELEMS(v_id))5058 {5059 Werror("At least %d ncgen variables are needed for this computation.", IDELEMS(v_id));5060 return TRUE;5061 }5062 }5063 #endif5064 5067 if (ww!=NULL) 5065 5068 { … … 5084 5087 hom=isHomog; 5085 5088 } 5089 unsigned save_opt=si_opt_1; 5090 si_opt_1 |= Sy_bit(OPT_REDTAIL_SYZ); 5086 5091 ideal S=idSyzygies(v_id,hom,&w); 5092 si_opt_1=save_opt; 5087 5093 res->data = (char *)S; 5088 5094 if (hom==isHomog)
Note: See TracChangeset
for help on using the changeset viewer.