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

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

[Octave-bug-tracker] [bug #45670] statistics: Avoid warning when calling


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #45670] statistics: Avoid warning when calling combnk on strings
Date: Sat, 01 Aug 2015 20:22:37 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

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

                 Summary: statistics: Avoid warning when calling combnk on
strings
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Sat 01 Aug 2015 08:22:36 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: Any

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 01 Aug 2015 08:22:36 PM GMT  Name: avoid-warning-combnk-string.diff 
Size: 430B   By: rlaboiss

<http://savannah.gnu.org/bugs/download.php?file_id=34563>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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