Skip to content
Snippets Groups Projects
Commit 5a6c7c36 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Task #10411: fix bug introduced in previous dysco commit

parent 94c9e18d
No related branches found
No related tags found
No related merge requests found
......@@ -559,7 +559,6 @@ namespace LOFAR {
// Write WEIGHT_SPECTRUM and DATA
ArrayColumn<Float> weightCol(out, "WEIGHT_SPECTRUM");
ArrayColumn<Double> uvwCol(out, "UVW");
itsBuffer.referenceFilled (buf);
const Array<Float>& weights = itsReader->fetchWeights (buf, itsBuffer,
itsTimer);
......@@ -582,6 +581,7 @@ namespace LOFAR {
++weightsIter;
}
dataCol.putColumn (dataCopy);
weightCol.putColumn (weightsCopy);
}
else {
dataCol.putColumn (buf.getData());
......@@ -597,6 +597,7 @@ namespace LOFAR {
}
// Write UVW
ArrayColumn<Double> uvwCol(out, "UVW");
const Array<Double>& uvws = itsReader->fetchUVW (buf, itsBuffer,
itsTimer);
uvwCol.putColumn (uvws);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment