Changeset 1000 for trunk/src/STFit.cpp


Ignore:
Timestamp:
04/07/06 09:41:02 (18 years ago)
Author:
mar637
Message:

fixed bug due to incorrect use of Table::rowNumbers (RTFM!).
added flagging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFit.cpp

    r972 r1000  
    9090    Table t = table_(table_.col("ID") == id );
    9191    if (t.nrow() > 0) {
    92       rno = t.rowNumbers()[0];
     92      rno = t.rowNumbers(table_)[0];
    9393      resultid = id;
    9494      foundentry = true;
     
    102102  // add new row if new id
    103103  if ( !foundentry ) table_.addRow();
    104   cout << rno << "   " << resultid << endl;
    105104  funcCol_.put(rno, mathutil::toVectorString(fit.getFunctions()));
    106105  compCol_.put(rno, Vector<Int>(fit.getComponents()));
Note: See TracChangeset for help on using the changeset viewer.