bugGNU Octave - Bugs: bug #60514, [octave forge] (statistics) anovan...

 
 

bug #60514: [octave forge] (statistics) anovan unexpectedly outputs "toascii" error message

Submitted by:  None
Submitted on:  Mon 03 May 2021 08:34:38 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  6.2.0
Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Tue 04 May 2021 07:45:27 AM UTC, comment #1: 

The function `toascii` should be replaced with `double` in `anovan.m`.

In the meantime, you could work around that by manually mapping the function, e.g. with something like this:

function a = toascii(c), a = double(c); endfunction
a=rand(6,1);
b=[1,1,1,2,2,2]';
c=[1,2,1,2,1,2]';
anovan(a, [b,c])

Markus M├╝tzel <mmuetzel>
Project Member
Mon 03 May 2021 08:34:38 PM UTC, original submission:  

a=rand(6,1);
b=[1,1,1,2,2,2]';
c=[1,2,1,2,1,2]';
anovan(a, [b,c])
error: 'toascii' undefined near line 307, column 307
error: called from
    anovan>printout at line 306 column 3
    anovan at line 151 column 9

This error presents itself with every numerical array I am trying as a second argument.
Furthermore, if I write

p=anovan(a, [b,c])

I will get

p=
NaN
NaN

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-03 mtmiller StatusNone => Confirmed
        Operating SystemMicrosoft Windows => Any
        Summaryanovan unexpectedly outputs "toascii" error message => [octave forge] (statistics) anovan unexpectedly outputs "toascii" error message

    Back to the top


    Powered by Savane 3.6