From 94f8a64696fbfc035071d4861765f3c7cc7ee6d3 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Wed, 19 Jun 2024 15:21:03 +0200 Subject: [PATCH 1/2] Remove no longer supported CentOS7 from Key4hep workflows --- .github/workflows/key4hep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/key4hep.yml b/.github/workflows/key4hep.yml index 738aec6..46e7265 100644 --- a/.github/workflows/key4hep.yml +++ b/.github/workflows/key4hep.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: build_type: ["release", "nightly"] - image: ["alma9", "ubuntu22", "centos7"] + image: ["alma9", "ubuntu22"] fail-fast: false steps: From d00325c7e0f3323e184be3ebcaf9ca7d9ff9242d Mon Sep 17 00:00:00 2001 From: tmadlener Date: Fri, 23 Aug 2024 10:15:34 +0200 Subject: [PATCH 2/2] Fix potential index swap --- source/src/WeightedPoints3D.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/WeightedPoints3D.cc b/source/src/WeightedPoints3D.cc index 268da29..2423372 100644 --- a/source/src/WeightedPoints3D.cc +++ b/source/src/WeightedPoints3D.cc @@ -885,8 +885,8 @@ void WeightedPoints3D::propagateVecErrorsCartesian(){ Dmat[1][1] = sin(phi)*cos(theta) ; Dmat[2][1] = -sin(theta) ; double thph_dmat [2][3]; - for ( int i =0 ; i < 3 ; i++ ) { - for ( int j=0 ; j < 2 ; j++ ) { + for ( int i =0 ; i < 2 ; i++ ) { + for ( int j=0 ; j < 3 ; j++ ) { thph_dmat [i][j] = 0. ; for (int k=0 ; k < 2 ; k++ ) { thph_dmat [i][j] += _theta_phi_cov[i][k][l]*Dmat[j][k];