From a98ffab72c20193c80508511d0f21b640324b319 Mon Sep 17 00:00:00 2001 From: wierenga <sdos@astron.nl> Date: Wed, 10 May 2006 08:59:45 +0000 Subject: [PATCH] BugID: 708 weights for cross-correlation were not written correctly --- MAC/APL/PIC/RSPDriver/src/BWWrite.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MAC/APL/PIC/RSPDriver/src/BWWrite.cc b/MAC/APL/PIC/RSPDriver/src/BWWrite.cc index 12b5ee2119a..2b9f1498721 100644 --- a/MAC/APL/PIC/RSPDriver/src/BWWrite.cc +++ b/MAC/APL/PIC/RSPDriver/src/BWWrite.cc @@ -146,7 +146,7 @@ void BWWrite::sendrequest() weights(Range::all(), 1) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 0) = complex<int16>(0x4000, 0); + weights(getCurrentIndex() + m_blp, 0) = complex<int16>(0x4000, 0); } break; @@ -159,7 +159,7 @@ void BWWrite::sendrequest() weights(Range::all(), 1) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 0) = complex<int16>(0, 0x4000); + weights(getCurrentIndex() + m_blp, 0) = complex<int16>(0, 0x4000); } break; @@ -172,7 +172,7 @@ void BWWrite::sendrequest() weights(Range::all(), 0) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 1) = complex<int16>(0x4000, 0); + weights(getCurrentIndex() + m_blp, 1) = complex<int16>(0x4000, 0); } break; @@ -185,7 +185,7 @@ void BWWrite::sendrequest() weights(Range::all(), 0) = 0; // overwrite first weights for cross correlation - weights(getCurrentIndex(), 1) = complex<int16>(0, 0x4000); + weights(getCurrentIndex() + m_blp, 1) = complex<int16>(0, 0x4000); } break; } -- GitLab