octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31421] discrete_pdf uses unsorted values


From: Muhali
Subject: [Octave-bug-tracker] [bug #31421] discrete_pdf uses unsorted values
Date: Fri, 22 Oct 2010 21:05:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101013 Ubuntu/10.04 (lucid) Firefox/3.6.11

URL:
  <http://savannah.gnu.org/bugs/?31421>

                 Summary: discrete_pdf uses unsorted values
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Fri 22 Oct 2010 09:05:28 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The function discrete_pdf uses unsorted values for the subsequent table
loopkup, creating the following error.

error: discrete_pdf: subscript indices must be either positive integers or
logicals.
error: called from:
error:  
/usr/local/octave-3.4/share/octave/3.3.52+/m/statistics/distributions/discrete_pdf.m
at line 56, column 13

Like in dicrete_cdf the values should be sorted before the lookup call.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31421>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]