[med-svn] [cufflinks] 01/03: Fix issue with newer libeigen
Andreas Tille
tille at debian.org
Tue Jul 12 12:33:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository cufflinks.
commit ceae0999ba24238baf230a062465d46c46f229ee
Author: Andreas Tille <tille at debian.org>
Date: Tue Jul 12 14:10:17 2016 +0200
Fix issue with newer libeigen
---
debian/patches/lib_eigen.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/lib_eigen.patch b/debian/patches/lib_eigen.patch
new file mode 100644
index 0000000..aa45124
--- /dev/null
+++ b/debian/patches/lib_eigen.patch
@@ -0,0 +1,18 @@
+Author: Jakub Wilk <jwilk at debian.org>
+Last-Update: Tue, 12 Jul 2016 13:10:44 +0200
+Description: For some reason Eigen thinks that v.colwise().sum() cannot be
+ treated as a one-dimensional vector, which smells like a bug in Eigen.
+Comment: Related upstream bug
+ https://github.com/cole-trapnell-lab/cufflinks/issues/61
+
+--- a/src/abundances.cpp
++++ b/src/abundances.cpp
+@@ -3812,7 +3812,7 @@ void Mstep (int N,
+ double m = 0;
+
+ v = U.rowwise().sum();
+- m = v.colwise().sum()(0);
++ m = v.colwise().sum()(0, 0);
+
+ if (m)
+ {
diff --git a/debian/patches/series b/debian/patches/series
index fe10689..7f0e077 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ gffread_show_usage.patch
0002-bam2samtools.patch
0003-fix_includes_path.patch
format-security.patch
+lib_eigen.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cufflinks.git
More information about the debian-med-commit
mailing list