Bug#595294: unblock: octave-nan/1.0.9-2
Package: release.debian.org
User: release.debian.org@packages.debian.org
Usertags: freeze-exception
Severity: normal
Please unblock package octave-nan
It contains only a small patch (see below). The bug is considered
critical by upstream, see
http://bugs.debian.org/594906
There are some other small changes in the package (updated watch file,
removed uploaders), but nothing which touches code.
unblock octave-nan/1.0.9-2
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: Alois Schlögl <alois.schloegl@gmail.com>
Subject: Correctly handle the case of an empty second argument to var()
Origin: upstream, http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/NaN/inst/var.m?r1=6294&r2=6295&
Bug: https://savannah.gnu.org/bugs/index.php?30905
Bug-Debian: http://bugs.debian.org/594906
--- a/inst/var.m
+++ b/inst/var.m
@@ -72,6 +72,10 @@
return;
end;
+if isempty(opt),
+ opt = 0;
+end;
+
if isempty(DIM),
DIM=min(find(size(x)>1));
if isempty(DIM), DIM=1; end;
Reply to: