bugGNU Octave - Bugs: bug #45670, statistics: Avoid warning when...

 
 

bug #45670: statistics: Avoid warning when calling combnk on strings

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Sat 01 Aug 2015 08:22:36 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 02 Aug 2015 07:49:39 PM UTC, comment #3: 

Thanks, I applied your patch.

Arno Onken <asnelt>
Sun 02 Aug 2015 07:38:42 AM UTC, comment #2: 

Adding package maintainer to cc.

Carnë Draug <carandraug>
Group Member
Sun 02 Aug 2015 07:26:43 AM UTC, comment #1: 

I attached to this bug report a changeset that applies to the tip of the Mercurial repository for the statistics package.

(file #34566)

Rafael Laboissière <rlaboiss>
Sat 01 Aug 2015 08:22:36 PM UTC, original submission:  

A warning is issued when combnk is called with a string argument:


octave:2> combnk ("hello", 2);
warning: implicit conversion from numeric to char
warning: called from
    combnk>__combnk__ at line 63 column 16
    combnk at line 38 column 12


This seems to be harmless, but you will find attached to this bug report a patch to avoid this warning message.

Rafael Laboissière <rlaboiss>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34566:  avoid-warning-combnk-string.cset added by rlaboiss (762B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by asnelt (Posted a comment)
  • -email is unavailable- added by carandraug (Arno Onken - maintainer of statistics package)
  • -email is unavailable- added by rlaboiss (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-02 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2015-08-02 carandraug Carbon-Copy- Added -email is unavailable-
    2015-08-02 rlaboiss Attached File- Added avoid-warning-combnk-string.cset, #34566
    2015-08-01 rlaboiss Attached File- Added avoid-warning-combnk-string.diff, #34563

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code