[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45866] next_row_index calculation incorrect i
From: |
Brie Zobel |
Subject: |
[Octave-bug-tracker] [bug #45866] next_row_index calculation incorrect in getfis_two_args in getfis.m |
Date: |
Wed, 02 Sep 2015 22:49:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 |
URL:
<http://savannah.gnu.org/bugs/?45866>
Summary: next_row_index calculation incorrect in
getfis_two_args in getfis.m
Project: GNU Octave
Submitted by: briezee
Submitted on: Wed 02 Sep 2015 10:49:41 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Brie Z
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: GNU/Linux
_______________________________________________________
Details:
In the fuzzy-logic-toolkit, (version 0.4.5), in getfis.m, in method
getfis_two_args, in the case statement for inmfparams,
the next_row_index calculation is
next_row_index = (i - 1) * max_len + j;
This however, uses the number of columns when attempting to calculate number
of rows.
I believe this line should be
next_row_index = (i-1)*columns(fis.input(i).mf) +j;
This is line 344 of getfis.m, in the fuzzy-logic-toolkit, version 0.4.5.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45866>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45866] next_row_index calculation incorrect in getfis_two_args in getfis.m,
Brie Zobel <=