Changeset 2934


Ignore:
Timestamp:
04/23/14 17:18:04 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-5875

Ready for Test: Yes

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs:

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix for freqtol.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r2920 r2934  
    26272627        // the equal FREQ_ID, MOLECULE_ID, and FOCUS_ID values.
    26282628        const TableRecord& rec = row.get(0);
    2629         tout.addRow(thetab.nrow());
    2630         TableCopy::copyRows(tout, thetab, nrow, 0, thetab.nrow());
    2631 
    2632         Slicer slice(IPosition(1, nrow), IPosition(1, thetab.nrow()),
    2633                      Slicer::endIsLength);
    26342629
    26352630        // Set the proper FREQ_ID
     
    26842679          os << LogIO::DEBUGGING << "newifno = " << newifno << LogIO::POST;
    26852680        }
     2681        // copy rows to output table
     2682        tout.addRow(thetab.nrow());
     2683        TableCopy::copyRows(tout, thetab, nrow, 0, thetab.nrow());
     2684
     2685        Slicer slice(IPosition(1, nrow), IPosition(1, thetab.nrow()),
     2686                     Slicer::endIsLength);
     2687
    26862688        thecolvals = id;
    26872689        freqidcol.putColumnRange(slice, thecolvals);
Note: See TracChangeset for help on using the changeset viewer.