Changeset 313806 in git
- Timestamp:
- Feb 21, 2024, 2:40:39 PM (2 months ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 12d338b9360721f933ace848728103c748c7cf45
- Parents:
- 2d5d7e969be169286decf139f1ba0d2d47c38dba
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r2d5d7e9 r313806 2605 2605 &&(R->order[j_in_R]!=ringorder_C)) 2606 2606 { 2607 R->block1[j_in_R]=si_max(R->block0[j_in_R],R->block0[j_in_R]+iv_len-1); 2607 if (R->order[j_in_R]==ringorder_M) 2608 { 2609 int sq=(int)sqrt((double)(iv_len)); 2610 R->block1[j_in_R]=si_max(R->block0[j_in_R],R->block0[j_in_R]+sq-1); 2611 } 2612 else 2613 R->block1[j_in_R]=si_max(R->block0[j_in_R],R->block0[j_in_R]+iv_len-1); 2608 2614 if (R->block1[j_in_R]>R->N) 2609 2615 { 2610 2616 if (R->block0[j_in_R]>R->N) 2611 2617 { 2618 Print("R->block0[j_in_R]=%d,N=%d\n",R->block0[j_in_R],R->N); 2612 2619 Werror("not enough variables for ordering %d (%s)",j_in_R,rSimpleOrdStr(R->order[j_in_R])); 2613 2620 return TRUE; … … 2616 2623 iv_len=R->block1[j_in_R]-R->block0[j_in_R]+1; 2617 2624 } 2618 //Print("block %d from %d to %d\n",j,R->block0[j], R->block1[j]); 2625 //Print("block %d(%s) from %d to %d\n",j_in_R, 2626 // rSimpleOrdStr(R->order[j_in_R]),R->block0[j_in_R], R->block1[j_in_R]); 2619 2627 } 2620 2628 int i; … … 2650 2658 R->wvhdl[j_in_R] =( int *)omAlloc((iv->length())*sizeof(int)); 2651 2659 for (i=0; i<iv->length();i++) R->wvhdl[j_in_R][i]=(*iv)[i]; 2652 R->block1[j_in_R]=si_max(R->block0[j_in_R],R->block0[j_in_R]+(int)sqrt((double)(iv->length())));2653 2660 if (R->block1[j_in_R]>R->N) 2654 2661 { -
Tst/Short/ok_s.lst
r2d5d7e9 r313806 37 37 bug_ring_red 38 38 bug_ringlist 39 bug_ringlist_M 39 40 bug_sca 40 41 bug_sheafcoh
Note: See TracChangeset
for help on using the changeset viewer.