- Timestamp:
- 04/20/12 22:08:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r2467 r2474 2200 2200 CountedPtr< Scantable > out = getScantable(in, false); 2201 2201 Table& tab = in->table(); 2202 Table& outtab = out->table(); 2202 2203 Unit fluxUnit(tab.keywordSet().asString("FluxUnit")); 2203 2204 Unit K(String("K")); … … 2236 2237 oss << "Jy/K = " << jyperk; 2237 2238 pushLog(String(oss)); 2238 Vector<Float> factors( tab.nrow(), factor);2239 scaleByVector( tab,factors, false);2239 Vector<Float> factors(outtab.nrow(), factor); 2240 scaleByVector(outtab,factors, false); 2240 2241 } else if ( etaap > 0.0) { 2241 2242 if (d < 0) { … … 2254 2255 factor = 1.0 / factor; 2255 2256 } 2256 Vector<Float> factors( tab.nrow(), factor);2257 scaleByVector( tab, factors, False);2257 Vector<Float> factors(outtab.nrow(), factor); 2258 scaleByVector(outtab, factors, False); 2258 2259 } else { 2259 2260
Note:
See TracChangeset
for help on using the changeset viewer.