[Pkg-octave-commit] [octave-image] 01/01: d/p/typo-unit-test-watershed.patch: New patch

Rafael Laboissiere rafael at debian.org
Sun Sep 10 14:19:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

rafael pushed a commit to branch master
in repository octave-image.

commit 51e6d8b58603401295f81631d46605de6aca5425
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Sep 10 11:19:13 2017 -0300

    d/p/typo-unit-test-watershed.patch: New patch
---
 debian/patches/series                         |  1 +
 debian/patches/typo-unit-test-watershed.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 970c756..4bf045c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 im2bw-unit-test.patch
+typo-unit-test-watershed.patch
diff --git a/debian/patches/typo-unit-test-watershed.patch b/debian/patches/typo-unit-test-watershed.patch
new file mode 100644
index 0000000..4130402
--- /dev/null
+++ b/debian/patches/typo-unit-test-watershed.patch
@@ -0,0 +1,16 @@
+Description: Fix wrong noames of variables in unit test for watershed
+Author: Rafael Laboissiere <rafael at debian.org>
+Forwarded: https://savannah.gnu.org/bugs/index.php?51978
+Last-Update: 2017-09-10
+
+--- octave-image-2.6.1.orig/src/watershed.cc
++++ octave-image-2.6.1/src/watershed.cc
+@@ -611,7 +611,7 @@ or with a binary matrix representing a c
+ %!   0   0   0   0   0   4   4
+ %!   2   2   2   0   4   4   4];
+ %!
+-%! assert (watershed (im_crop), matlab_result_crop);
++%! assert (watershed (im_full), matlab_result_full);
+ %!
+ %! im_crop = [
+ %!       2  10   3   8   7   5

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-image.git



More information about the Pkg-octave-commit mailing list