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

Check for fully flagged solints

parent 6d23fdb3
No related branches found
No related tags found
1 merge request!191Refant
...@@ -69,6 +69,9 @@ void TECConstraintBase::applyReferenceAntenna(std::vector<std::vector<dcomplex> ...@@ -69,6 +69,9 @@ void TECConstraintBase::applyReferenceAntenna(std::vector<std::vector<dcomplex>
// Choose this refAntenna; // Choose this refAntenna;
break; break;
} }
// All antennas are flagged, use first one (will lead to NaNs for this solint)
if (refAntenna == _nChannelBlocks)
refAntenna = 0;
for(size_t ch=0; ch!=_nChannelBlocks; ++ch) for(size_t ch=0; ch!=_nChannelBlocks; ++ch)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment