Changeset 008939 in git


Ignore:
Timestamp:
Mar 27, 2013, 1:02:51 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5bec8f88c9ee2573d328cf7c3aff2bcb301d2395')
Children:
97dcf5ad116134b5350720fe62ff8451882b177e
Parents:
15913a696349fcc40d93d2f1edb152b6effea44a
Message:
fix: tr. #409 (Leif Leonhardy from sage)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/bigintmat.cc

    r15913a6 r008939  
    401401      {
    402402        StringSetS("");
    403         int ci = floor(i/col);
     403        int ci = i/col;
    404404        StringAppend("[%d,%d]", ci+1, cj+1);
    405405        char * ph = StringEndS();
     
    554554    if ((a[index] > sndlong) && (a[index] < l))
    555555    {
    556       min = floor(log10(cols))+floor(log10(rows))+5;
     556      min = floor(log10((double)cols))+floor(log10((double)rows))+5;
    557557      if ((a[index] < min) && (min < l))
    558558        sndlong = min;
     
    563563  if (sndlong == 0)
    564564  {
    565     min = floor(log10(cols))+floor(log10(rows))+5;
     565    min = floor(log10((double)cols))+floor(log10((double)rows))+5;
    566566    if (min < l)
    567567      sndlong = min;
     
    634634      {
    635635        StringSetS("");
    636         int ci = floor(i/col);
     636        int ci = i/col;
    637637        StringAppend("[%d,%d]", ci+1, cj+1);
    638638        char * ph = StringEndS();
Note: See TracChangeset for help on using the changeset viewer.