Changeset 2813 for trunk/src


Ignore:
Timestamp:
04/18/13 17:03:04 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CSV-2709

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix on sdlist (Scantable::summary).
List of MOLECULE_IDs can change for each SCANNO.
The fix properly handles variable list of MOLECULE_IDs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2811 r2813  
    11141114
    11151115  // Vars for keeping track of time, freqids, molIds in a SCANNO
    1116   Vector<uInt> freqids;
    1117   Vector<uInt> molids;
     1116  //Vector<uInt> freqids;
     1117  //Vector<uInt> molids;
    11181118  Vector<uInt> beamids(1,0);
    11191119  Vector<MDirection> beamDirs;
     
    11571157
    11581158    // MOLECULE_ID and FREQ_ID
    1159     molids = getNumbers(molIdCol);
     1159    Vector<uInt> molids(getNumbers(molIdCol));
    11601160    molids.shape(nmol);
    11611161
    1162     freqids = getNumbers(freqIdCol);
     1162    Vector<uInt> freqids(getNumbers(freqIdCol));
    11631163    freqids.shape(nfreq);
    11641164
Note: See TracChangeset for help on using the changeset viewer.