From c14501f575423718e7654e31070a88eb7533b5ff Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 7 May 2024 10:49:56 +0200
Subject: [PATCH] Fix tile beamforming

---
 README.md                                                     | 1 +
 tangostationcontrol/VERSION                                   | 2 +-
 tangostationcontrol/tangostationcontrol/devices/recv/recvh.py | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index e6557dcf5..148298d22 100644
--- a/README.md
+++ b/README.md
@@ -161,6 +161,7 @@ Next change the version in the following places:
 
 # Release Notes
 
+* 0.36.1 Fix tile beamforming
 * 0.36.0 Upgraded base image to tango-itango:9.5.0, greatly improving numpy performance
          Improved multi-threading performance for delay calculations for beam pointing and tracking
          Added logging for observation initialisation sequence
diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION
index 93d4c1ef0..19199bcca 100644
--- a/tangostationcontrol/VERSION
+++ b/tangostationcontrol/VERSION
@@ -1 +1 @@
-0.36.0
+0.36.1
diff --git a/tangostationcontrol/tangostationcontrol/devices/recv/recvh.py b/tangostationcontrol/tangostationcontrol/devices/recv/recvh.py
index 2f2f68d1f..a9262b325 100644
--- a/tangostationcontrol/tangostationcontrol/devices/recv/recvh.py
+++ b/tangostationcontrol/tangostationcontrol/devices/recv/recvh.py
@@ -253,7 +253,7 @@ class RECVH(RECVDevice):
                 "HBAT_BF_delay_steps_RW"
             )
 
-            if (staged_value != last_written_value).all():
+            if (staged_value != last_written_value).any():
                 logger.debug(
                     "Writing HBAT_BF_delay_steps_RW := HBAT_BF_delay_steps_stage_RW after detecting changes"
                 )
-- 
GitLab