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

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

[Octave-bug-tracker] [bug #38018] Fuzzy-Logic-Toolkit 0.4.2: Wrong funct


From: anonymous
Subject: [Octave-bug-tracker] [bug #38018] Fuzzy-Logic-Toolkit 0.4.2: Wrong function name in setfis.m
Date: Wed, 02 Jan 2013 17:28:20 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0

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

                 Summary: Fuzzy-Logic-Toolkit 0.4.2: Wrong function name in
setfis.m
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mi 02 Jan 2013 17:28:18 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Andreas Fritz
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.3
        Operating System: Any

    _______________________________________________________

Details:

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,






    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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