From 1e1851e93875a7d301f89ed3f8f7227bf51095ad Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 2 Nov 2016 16:44:36 +0000
Subject: [PATCH] Task #10045: Bugfix: propagate all stations to beam-form, not
 just one

---
 RTCP/Cobalt/CoInterface/src/Parset.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/RTCP/Cobalt/CoInterface/src/Parset.cc b/RTCP/Cobalt/CoInterface/src/Parset.cc
index b3853709eaf..3f22315e9c4 100644
--- a/RTCP/Cobalt/CoInterface/src/Parset.cc
+++ b/RTCP/Cobalt/CoInterface/src/Parset.cc
@@ -639,9 +639,9 @@ namespace LOFAR
             } else {
               LOG_WARN_STR("Removing station " << beamFormerStations[i] << " from the beam-former, as it is not participating in the observation: " << settings.rawStationList);
             }
-
-            beamFormerStations = filteredList;
           }
+
+          beamFormerStations = filteredList;
         }
 
         ASSERTSTR(!beamFormerStations.empty(), "No stations left to beam form! Aborting.");
-- 
GitLab