bugGNU Octave - Bugs: bug #38230, uninitialised variable in ttest2

 
 

bug #38230: uninitialised variable in ttest2

Submitted by:  None
Submitted on:  Fri 01 Feb 2013 11:01:28 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: JessOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 02 Feb 2013 05:53:59 PM UTC, comment #1:

This seems to have been fixed on the version 2.5.6 which is pending release. Could you please confirm by testing with the versions mentionaed at https://sourceforge.net/p/octave/package-releases/1

Carnë Draug <carandraug>
Project Member
Fri 01 Feb 2013 11:01:28 PM UTC, original submission:

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by carandraug (nan package author and maintainer)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Feb 2013 05:53:59 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1