Changeset 40b65a3 in git


Ignore:
Timestamp:
Aug 15, 2019, 2:42:44 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
61805653a98bcb59b2ce76a4d538b2fb05459e28a631cdc0aa559cc581e085981696acaa3b7216c1
Parents:
43d23c46c518748a9f4fa43d4d8d51ff7fe69354
Message:
fix: rComposeOrder for M
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r43d23c r40b65a3  
    26342634             R->wvhdl[j_in_R] =( int *)omAlloc((iv->length())*sizeof(int));
    26352635             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())));
    26372637             if (R->block1[j_in_R]>R->N)
    26382638             {
    2639                WerrorS("ordering matrix too big");
    2640                return TRUE;
     2639               R->block1[j_in_R]=R->N;
    26412640             }
    26422641             break;
     
    26502649           case ringorder_Dp:
    26512650           case ringorder_rp:
    2652              #if 0
     2651             #if 0
    26532652             for (i=0; i<iv_len;i++)
    26542653             {
     
    26612660               }
    26622661             }
    2663              #endif // break absfact.tst
     2662             #endif // break absfact.tst
    26642663             break;
    26652664           case ringorder_S:
Note: See TracChangeset for help on using the changeset viewer.