Changeset 1477 for trunk/src


Ignore:
Timestamp:
01/16/09 15:51:16 (16 years ago)
Author:
Malte Marquarding
Message:

fixed unititialised vector length vor convertArray

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STWriter.cpp

    r1462 r1477  
    171171      ROArrayColumn<Double> srateCol(btable, "SCANRATE");
    172172      Vector<Double> sratedbl;
    173       Vector<Float> srateflt;
    174173      srateCol.get(0, sratedbl);
     174      Vector<Float> srateflt(sratedbl.nelements());
    175175      convertArray(srateflt, sratedbl);
    176176      pksrec.scanRate = srateflt;
Note: See TracChangeset for help on using the changeset viewer.