[Pkg-octave-devel] Bug#335373: marked as forwarded (octave2.1: extraneous argument in lgamma docs [patch])

Debian Bug Tracking System owner at bugs.debian.org
Mon Oct 24 06:48:19 UTC 2005


Your message dated Mon, 24 Oct 2005 08:43:56 +0200
with message-id <20051024064356.GE10613 at laboiss2>
has caused the Debian Bug report #335373,
regarding octave2.1: extraneous argument in lgamma docs [patch]
to be marked as having been forwarded to the upstream software
author(s) bug at octave.org.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 335373-forwarded) by bugs.debian.org; 24 Oct 2005 06:44:01 +0000
>From laboissiere at cbs.mpg.de Sun Oct 23 23:44:01 2005
Return-path: <laboissiere at cbs.mpg.de>
Received: from kom.psy.mpg.de (kom.mpipf-muenchen.mpg.de) [192.129.1.23] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ETw3t-0000eC-00; Sun, 23 Oct 2005 23:44:01 -0700
Received: from amalie.intra.mpipf-muenchen.mpg.de ([10.1.1.2])
	by kom.mpipf-muenchen.mpg.de with esmtp (Exim 4.34)
	id 1ETw3q-0001Pj-3Z; Mon, 24 Oct 2005 08:43:58 +0200
Received: from [10.80.1.253] (helo=laboiss2)
	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
	id 1ETw3q-0007qU-00; Mon, 24 Oct 2005 08:43:58 +0200
Received: from rafael by laboiss2 with local (Exim 3.36 #1 (Debian))
	id 1ETw3o-0006ty-00; Mon, 24 Oct 2005 08:43:56 +0200
Date: Mon, 24 Oct 2005 08:43:56 +0200
From: Rafael Laboissiere <rafael at debian.org>
To: bug at octave.org
Cc: "James R. Van Zandt" <jrvz at comcast.net>,
	335373-forwarded at bugs.debian.org
Subject: [jrvz at comcast.net: [Pkg-octave-devel] Bug#335373: octave2.1: extraneous argument in lgamma docs [patch]]
Message-ID: <20051024064356.GE10613 at laboiss2>
Reply-To: Rafael Laboissiere <rafael at debian.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Organization: Debian GNU/Linux
User-Agent: Mutt/1.5.9i
Delivered-To: 335373-forwarded at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Please, consider the bug report below, filed against the Debian octave2.1
package.  I confirm the same problem in 2.1.71.

-- Rafael

----- Forwarded message from "James R. Van Zandt" <jrvz at comcast.net> -----

From: "James R. Van Zandt" <jrvz at comcast.net>
Subject: [Pkg-octave-devel] Bug#335373: octave2.1: extraneous argument in
	lgamma docs [patch]
Date: Sun, 23 Oct 2005 10:39:12 -0400
To: Debian Bug Tracking System <submit at bugs.debian.org>
Reply-To: "James R. Van Zandt" <jrvz at comcast.net>, 335373 at bugs.debian.org

Package: octave2.1
Version: 2.1.69-1
Severity: normal


The documentation for lgamma indicates it requires two arguments, but
doesn't say what they are:

   octave:1> help lgamma
   lgamma is a built-in mapper function
   
    -- Mapping Function:  lgamma (A, X)
    -- Mapping Function:  gammaln (A, X)
        Return the natural logarithm of the gamma function.
      See also: gamma and gammai.
   
Apparently only one argument is allowed:

  octave:2> lgamma(2,3)
  error: lgamma: too many arguments
  
I suggest the first argument be removed from the documentation string,
as with the following patch.

                   - Jim Van Zandt

--- src/mappers.cc-old	2005-10-23 10:30:40.000000000 -0400
+++ src/mappers.cc	2005-10-23 10:31:40.000000000 -0400
@@ -537,8 +537,8 @@
 
   DEFUN_MAPPER (lgamma, 0, 0, 0, xlgamma, 0, 0, 0.0, 0.0, 0, 0,
     "-*- texinfo -*-\n\
- at deftypefn {Mapping Function} {} lgamma (@var{a}, @var{x})\n\
- at deftypefnx {Mapping Function} {} gammaln (@var{a}, @var{x})\n\
+ at deftypefn {Mapping Function} {} lgamma (@var{x})\n\
+ at deftypefnx {Mapping Function} {} gammaln (@var{x})\n\
 Return the natural logarithm of the gamma function.\n\
 @end deftypefn\n\
 @seealso{gamma and gammai}");


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.29
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages octave2.1 depends on:
ii  atlas3-base [liblapack.s 3.6.0-19        Automatically Tuned Linear Algebra
ii  fftw3                    3.0.1-14        library for computing Fast Fourier
ii  lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii  libc6                    2.3.5-6         GNU C Library: Shared libraries an
ii  libg2c0                  1:3.4.4-8       Runtime library for GNU Fortran 77
ii  libgcc1                  1:4.0.2-2       GCC support library
ii  libhdf5-serial-1.6.2-0 [ 1.6.2-3         Hierarchical Data Format 5 (HDF5) 
ii  libncurses5              5.4-9           Shared libraries for terminal hand
ii  libreadline5             5.0-10          GNU readline and history libraries
ii  libstdc++5               1:3.3.6-7       The GNU Standard C++ Library v3
ii  texinfo                  4.8-1           Documentation system for on-line i
ii  zlib1g                   1:1.2.3-4       compression library - runtime

octave2.1 recommends no packages.

-- no debconf information


_______________________________________________
Pkg-octave-devel mailing list
Pkg-octave-devel at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel



----- End forwarded message -----

-- 
Rafael



More information about the Pkg-octave-devel mailing list