bugGNU Octave - Bugs: bug #38018, Fuzzy-Logic-Toolkit 0.4.2: Wrong...

 
 

bug #38018: Fuzzy-Logic-Toolkit 0.4.2: Wrong function name in setfis.m

Submitter:  None
Submitted:  Wed 02 Jan 2013 05:28:18 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Andreas Fritz Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.3
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 Jan 2013 06:04:37 PM UTC, comment #1: 

Thank you for reporting this bug.
This has been fixed in http://sourceforge.net/p/octave/code/11530/

Regards, Andy

Andreas Weber <andy1978>
Group Member
Wed 02 Jan 2013 05:28:18 PM UTC, original submission:  

Passing seven arguments to the function setfis leads to the following error:
`setfis_six_args' undefined near line 93 column 19

The function setfis calls different worker-functions depending on the number of arguments passed. For seven arguments, it calls the non-existent funciton 'setfis_six_args'. Instead it should call 'setfis_seven_args':

setfis.m line 90:

  switch (nargin)
    case 3  fis = setfis_three_args (fis, arg2, arg3);
    case 5  fis = setfis_five_args (fis, arg2, arg3, arg4, arg5);
    case 7  fis = setfis_six_args (fis, arg2, arg3, arg4, arg5, ...
                                   arg6, arg7);

Line 93 should be modified to

    case 7  fis = setfis_seven_args (fis, arg2, arg3, arg4, arg5,


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 jordigh (Updated the item)
  • -email is unavailable- added by andy1978 (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-02 jordigh StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code