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

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

[Octave-bug-tracker] [bug #38230] uninitialised variable in ttest2


From: anonymous
Subject: [Octave-bug-tracker] [bug #38230] uninitialised variable in ttest2
Date: Fri, 01 Feb 2013 23:01:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

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

                 Summary: uninitialised variable in ttest2
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 01 Feb 2013 23:01:28 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Jess
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This is from version 2.5.5 (current release) of the nan package in octave
forge.

This is how to reproduce, with the output that you get:

octave:1> pkg load nan
octave:2> x = [ 1, 2, 3, 4, 4, 6 ]
x =

   1   2   3   4   4   6

octave:3> y = [ 1, 2, 4, 5 ]
y =

   1   2   4   5

octave:4> [H,PVAL] = ttest2(x, y)
error: `Wx' undefined near line 107 column 34
error: evaluating argument list element number 3
error: called from:
error:   /usr/share/octave/packages/nan-2.5.5/ttest2.m at line 107, column 13
octave:4> 


Looking in the ttest2.m file, it does appear that, outside of a particular if
statement, the Wx variable is not mentioned before this line.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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