Changeset 008939 in git for libpolys/coeffs


Ignore:
Timestamp:
Mar 27, 2013, 1:02:51 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
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.