Changeset 1f6c7a in git for Singular/Minor.cc


Ignore:
Timestamp:
Oct 8, 2009, 5:12:37 PM (15 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9193d93b4d40ee988851d32b6b7d64e21ec55ab1
Parents:
23ab77a71f89616ef0697fae07d84e3a8b621e1b
Message:
bug fixes, replace srand by siRand


git-svn-id: file:///usr/local/Singular/svn/trunk@12175 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/Minor.cc

    r23ab77 r1f6c7a  
    584584            }
    585585            shiftedBit = shiftedBit >> 1;
    586         }                                           
     586        }
    587587    }
    588588
     
    658658    string s = "(";
    659659    for (int r = this->getNumberOfRowBlocks() - 1; r >= 0; r--) {
    660         sprintf(h, "%du", this->getRowKey(r)); t += h;
     660        sprintf(h, "%u", this->getRowKey(r)); t += h;
    661661        if (r < this->getNumberOfRowBlocks() - 1)
    662662            t = string(32 - t.length(), '0') + t;
     
    665665    s += ", ";
    666666    for (int c = this->getNumberOfColumnBlocks() - 1; c >= 0; c--) {
    667         sprintf(h, "%du", this->getColumnKey(c)); t += h;
     667        sprintf(h, "%u", this->getColumnKey(c)); t += h;
    668668        if (c < this->getNumberOfColumnBlocks() - 1)
    669669            t = string(32 - t.length(), '0') + t;
Note: See TracChangeset for help on using the changeset viewer.