Skip to content
Snippets Groups Projects
Commit ebe2cb07 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-546: Do not check the dataSet smart pointer, it breaks the if clause

parent 52397f99
Branches
Tags
No related merge requests found
......@@ -374,11 +374,8 @@ namespace LOFAR
*
* Also create a new TBB_SubbandDataset in the DipoleGroup
*/
else if((currentSubBand.isInitialised == false)
&& (currentSubBand.dataSet.get() != nullptr))
else if(currentSubBand.isInitialised == false)
{
currentSubBand.isInitialised = true;
currentSubBand.time0 = frame.header.time;
currentSubBand.slice0 = sliceNr;
......@@ -429,6 +426,8 @@ namespace LOFAR
currentSubBand.dataSet->bandwidthUnit().value =
"not filled in";
currentSubBand.isInitialised = true;
LOG_INFO_STR("TBB: Band #"
<< currentSubBand.bandNr
<< " initialised with the following data: time0 = "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment