[med-svn] [phyml] 01/01: Fix all instances
Andreas Tille
tille at debian.org
Sat Jun 24 15:26:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository phyml.
commit a620df9dfac3f719a89f324005fecc75c70f570b
Author: Andreas Tille <tille at debian.org>
Date: Sat Jun 24 17:26:01 2017 +0200
Fix all instances
---
debian/patches/gcc-7.patch | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
index 5f0c85e..b2b8bba 100644
--- a/debian/patches/gcc-7.patch
+++ b/debian/patches/gcc-7.patch
@@ -5,11 +5,13 @@ Description: the compiler wants {}-brackets around the scalar value
--- a/src/lk.c
+++ b/src/lk.c
-@@ -2261,7 +2261,7 @@ void Update_PMat_At_Given_Edge(t_edge *b
+@@ -2260,8 +2260,8 @@ void Update_PMat_At_Given_Edge(t_edge *b
+
//
len = MAX(0.0, b_fcus->l->v) * tree->mod->br_len_mult->v;
- int p_matrices[1] = b_fcus->Pij_rr_idx;
+- int p_matrices[1] = b_fcus->Pij_rr_idx;
- double branch_lens[1] = len;
++ int p_matrices[1] = { b_fcus->Pij_rr_idx };
+ double branch_lens[1] = { len };
int ret = beagleUpdateTransitionMatrices(tree->b_inst,0,p_matrices,NULL,NULL,branch_lens,1);
if(ret<0)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phyml.git
More information about the debian-med-commit
mailing list