[Pkg-octave-commit] [SCM] octave-nan branch, master, updated. acce97f871eeb975d30677b7d3acb488b4203835

Thomas Weber tweber at debian.org
Sat Oct 2 21:58:48 UTC 2010


The following commit has been merged in the master branch:
commit 3ecb957b7dc947b894d2e771173d572c2e27ff34
Author: Thomas Weber <tweber at debian.org>
Date:   Sat Oct 2 23:46:20 2010 +0200

    New patch: fprintf_does_not_like_cells

diff --git a/debian/changelog b/debian/changelog
index 30b212c..8a51c8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 octave-nan (2.3.1-2) UNRELEASED; urgency=low
 
   * Run test suite via debian/check.m
+  * New patch: fprintf_does_not_like_cells, fixes a problem with fprintf in
+    the test suite
 
  -- Thomas Weber <tweber at debian.org>  Sat, 02 Oct 2010 23:40:52 +0200
 
diff --git a/debian/patches/fprintf_does_not_like_cells b/debian/patches/fprintf_does_not_like_cells
new file mode 100644
index 0000000..ef6fe89
--- /dev/null
+++ b/debian/patches/fprintf_does_not_like_cells
@@ -0,0 +1,15 @@
+From: Thomas Weber <tweber at debian.org>
+Subject: Fix problem with fprintf and cell values in the test suite
+
+Forwarded: yes (private mail to Alois Schlögl <alois.schloegl at gmail.com>)
+--- a/test/test_train_sc.m
++++ b/test/test_train_sc.m
+@@ -30,7 +30,7 @@
+ 
+ W3 = [ones(1,N/2)/5,ones(1,N/10)];
+ for l=1:length(classifier),
+-	fprintf(1,'%s\n',classifier(l));
++	fprintf(1,'%s\n',classifier{l});
+ for k=1:10,
+ 
+ x=randn(N,2);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f4e9315
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fprintf_does_not_like_cells

-- 
octave-nan



More information about the Pkg-octave-commit mailing list