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
No related branches found
No related tags found
No related merge requests found
...@@ -374,11 +374,8 @@ namespace LOFAR ...@@ -374,11 +374,8 @@ namespace LOFAR
* *
* Also create a new TBB_SubbandDataset in the DipoleGroup * Also create a new TBB_SubbandDataset in the DipoleGroup
*/ */
else if((currentSubBand.isInitialised == false) else if(currentSubBand.isInitialised == false)
&& (currentSubBand.dataSet.get() != nullptr))
{ {
currentSubBand.isInitialised = true;
currentSubBand.time0 = frame.header.time; currentSubBand.time0 = frame.header.time;
currentSubBand.slice0 = sliceNr; currentSubBand.slice0 = sliceNr;
...@@ -429,6 +426,8 @@ namespace LOFAR ...@@ -429,6 +426,8 @@ namespace LOFAR
currentSubBand.dataSet->bandwidthUnit().value = currentSubBand.dataSet->bandwidthUnit().value =
"not filled in"; "not filled in";
currentSubBand.isInitialised = true;
LOG_INFO_STR("TBB: Band #" LOG_INFO_STR("TBB: Band #"
<< currentSubBand.bandNr << currentSubBand.bandNr
<< " initialised with the following data: time0 = " << " initialised with the following data: time0 = "
......
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