Changeset 29c136 in git


Ignore:
Timestamp:
Sep 30, 2010, 3:02:45 PM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
8eda39598bf5a0767209a0c1a874ffbdbfead64b
Parents:
d2ea299b0b4e5a97bdd5d6bd73f96ec8a53ee4bf
Message:
bug fixed in code for minors

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

Legend:

Unmodified
Added
Removed
  • Singular/MinorProcessor.cc

    rd2ea299 r29c136  
    158158
    159159bool MinorProcessor::setNextKeys(const int k)
    160 {  bool b = false; bool c = false;
    161 if (b) printf("1_minor = %s\n", _minor.toString().c_str());
    162 if (b) printf("1_container = %s\n", _container.toString().c_str());
    163 if (c) printf("###1\n");
     160{
    164161  /* This method moves _minor to the next valid (k x k)-minor within
    165162     _container. It returns true iff this is successful, i.e. iff
     
    170167       to compute the first (k x k)-minor. */
    171168    _minor.selectFirstRows(k, _container);
    172 if (b) printf("21_minor = %s\n", _minor.toString().c_str());
    173 if (b) printf("21_container = %s\n", _container.toString().c_str());
    174 if (c) printf("###21\n");
    175169    _minor.selectFirstColumns(k, _container);
    176 if (b) printf("22_minor = %s\n", _minor.toString().c_str());
    177 if (b) printf("22_container = %s\n", _container.toString().c_str());
    178 if (c) printf("###22\n");
    179170    return true;
    180171  }
     
    183174    /* Here we were able to pick a next subset of columns
    184175       within the same subset of rows. */
    185 if (b) printf("3_minor = %s\n", _minor.toString().c_str());
    186 if (b) printf("3_container = %s\n", _container.toString().c_str());
    187 if (c) printf("###3\n");
    188176    return true;
    189177  }
     
    194182       subset of rows. We must hence reset the subset of columns: */
    195183    _minor.selectFirstColumns(k, _container);
    196 if (b) printf("4_minor = %s\n", _minor.toString().c_str());
    197 if (b) printf("4_container = %s\n", _container.toString().c_str());
    198 if (c) printf("###4\n");
    199184    return true;
    200185  }
     
    204189       of columns nor of rows. I.e., we have iterated through
    205190       all sensible choices of subsets of rows and columns. */
    206 if (b) printf("5_minor = %s\n", _minor.toString().c_str());
    207 if (b) printf("5_container = %s\n", _container.toString().c_str());
    208 if (c) printf("###5\n");
    209191    return false;
    210192  }
Note: See TracChangeset for help on using the changeset viewer.