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

 
 

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

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

Add a New Comment Rich Markup
   

Tue 23 Nov 2021 06:41:41 PM UTC, comment #4: 

Closing as fixed

John Donoghue <lostbard>
Group Member
Wed 22 Sep 2021 03:50:24 PM UTC, comment #3: 

Pusged patch to repo

John Donoghue <lostbard>
Group Member
Thu 12 Aug 2021 12:10:07 AM UTC, comment #2: 

attached is a simple patch that replaces both toascii() calls with double.

(file #51764)

Nicholas Jankowski <nrjank>
Group Member
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>
Group administrator
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:
   

Attached Files
file #51764:  bug60912_remove_toascii_anovan.diff added by nrjank (1KiB - application/octet-stream - patch to remove toascii references in anova)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-23 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2021-09-22 lostbard StatusConfirmed Ready For Test
        Assigned toNone lostbard
    2021-08-12 nrjank Attached File- Added bug60912_remove_toascii_anovan.diff, #51764
        Carbon-Copy- Added philipnienhuis
    2021-05-03 mtmiller StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
        Summaryanovan unexpectedly outputs &quot;toascii&quot; error message [octave forge] (statistics) anovan unexpectedly outputs "toascii" error message

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code