Commits
Sandra Castro authored 67b9df573b4 Merge
1316 1316 | if ( (manager_p->reindex_p) or inputOutputSPWIndexMap_p.size() == 0) |
1317 1317 | { |
1318 1318 | inputSPWIndex = spectralWindows_p(0); |
1319 1319 | } |
1320 1320 | else |
1321 1321 | { |
1322 1322 | inputSPWIndex = inputOutputSPWIndexMap_p.find(spectralWindows_p(0))->second; |
1323 1323 | } |
1324 1324 | |
1325 1325 | MFrequency refFrame = Vector<MFrequency>(spwRefRame_p(inputSPWIndex))(0); |
1326 - | freqRefFrameType_p = MFrequency::castType (refFrame.type()); |
1326 + | freqRefFrameType_p = MFrequency::castType (refFrame.getRef().getType()); |
1327 1327 | } |
1328 1328 | |
1329 1329 | return freqRefFrameType_p; |
1330 1330 | } |
1331 1331 | |
1332 1332 | |
1333 1333 | // ----------------------------------------------------------------------- |
1334 1334 | // |
1335 1335 | // ----------------------------------------------------------------------- |
1336 1336 | MFrequency::Convert MSTransformBufferImpl::generateFreqRefTranEngine ( Double time, |