Atri Bhattacharya
7c573533f8
Add lalapps-gcc11-array-bounds-decl.patch: Fix building with gcc 11 by correcting array bounds declaration; patch part of upstream merge request [https://git.ligo.org/lscsoft/lalsuite/-/merge_requests/1605]. OBS-URL: https://build.opensuse.org/request/show/898552 OBS-URL: https://build.opensuse.org/package/show/science/lalapps?expand=0&rev=11
26 lines
778 B
Diff
26 lines
778 B
Diff
From 929605564d04da773fc4bab553360219077344b9 Mon Sep 17 00:00:00 2001
|
|
From: John Veitch <john.veitch@ligo.org>
|
|
Date: Wed, 12 May 2021 21:53:46 +0100
|
|
Subject: [PATCH] Fix coh_ptf array bounds declaration
|
|
|
|
---
|
|
src/ring/coh_PTF_utils.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/ring/coh_PTF_utils.c b/src/ring/coh_PTF_utils.c
|
|
index c8a5a96226..0df577c64c 100644
|
|
--- a/src/ring/coh_PTF_utils.c
|
|
+++ b/src/ring/coh_PTF_utils.c
|
|
@@ -225,7 +225,7 @@ void coh_PTF_setup_null_stream(
|
|
/* Be aware this is separate from the null SNR! */
|
|
int coh_PTF_get_null_stream(
|
|
struct coh_PTF_params *params,
|
|
- REAL4TimeSeries **channel,
|
|
+ REAL4TimeSeries *channel[LAL_NUM_IFO+1],
|
|
REAL4 *Fplus,
|
|
REAL4 *Fcross,
|
|
REAL4 *timeOffsets )
|
|
--
|
|
GitLab
|
|
|