Commits
2517 2517 | // Set CubeViews in VisMapper |
2518 2518 | setVisibilitiesMap(antennaRows,&visibilitiesMap); |
2519 2519 | |
2520 2520 | // Set CubeViews in FlagMapper |
2521 2521 | setFlagsMap(antennaRows,&flagsMap); |
2522 2522 | |
2523 2523 | // Flag map |
2524 2524 | computeAntennaPairFlags(*(flagDataHandler_p->visibilityBuffer_p),visibilitiesMap,flagsMap,antennaPair.first,antennaPair.second,*antennaRows); |
2525 2525 | } |
2526 2526 | } |
2527 + | |
2528 + | // Delete antenna pair rows - prob generateAntennaPairRowsIndex should |
2529 + | // not return a pointer, but that requires a long cascade of changes elsewhere |
2530 + | delete antennaRows; |
2531 + | |
2527 2532 | } |
2528 2533 | else |
2529 2534 | { |
2530 2535 | *logger_p << LogIO::WARN << " Requested baseline (" << antennaPair.first << "," << antennaPair.second << ") is not available in this chunk " << LogIO::POST; |
2531 2536 | } |
2532 2537 | |
2533 2538 | return; |
2534 2539 | } |
2535 2540 | |
2536 2541 | void |