Changeset 40b65a3 in git
- Timestamp:
- Aug 15, 2019, 2:42:44 PM (4 years ago)
- Branches:
- (u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
- Children:
- 61805653a98bcb59b2ce76a4d538b2fb05459e28a631cdc0aa559cc581e085981696acaa3b7216c1
- Parents:
- 43d23c46c518748a9f4fa43d4d8d51ff7fe69354
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r43d23c r40b65a3 2634 2634 R->wvhdl[j_in_R] =( int *)omAlloc((iv->length())*sizeof(int)); 2635 2635 for (i=0; i<iv->length();i++) R->wvhdl[j_in_R][i]=(*iv)[i]; 2636 R->block1[j_in_R]=si_max(R->block0[j_in_R],R->block0[j_in_R]+(int)sqrt((double)(iv->length() -1)));2636 R->block1[j_in_R]=si_max(R->block0[j_in_R],R->block0[j_in_R]+(int)sqrt((double)(iv->length()))); 2637 2637 if (R->block1[j_in_R]>R->N) 2638 2638 { 2639 WerrorS("ordering matrix too big"); 2640 return TRUE; 2639 R->block1[j_in_R]=R->N; 2641 2640 } 2642 2641 break; … … 2650 2649 case ringorder_Dp: 2651 2650 case ringorder_rp: 2652 2651 #if 0 2653 2652 for (i=0; i<iv_len;i++) 2654 2653 { … … 2661 2660 } 2662 2661 } 2663 2662 #endif // break absfact.tst 2664 2663 break; 2665 2664 case ringorder_S:
Note: See TracChangeset
for help on using the changeset viewer.