[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47735] Code doesn't work on Octave, but does
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #47735] Code doesn't work on Octave, but does on MATLAB |
Date: |
Tue, 19 Apr 2016 02:23:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?47735>
Summary: Code doesn't work on Octave, but does on MATLAB
Project: GNU Octave
Submitted by: None
Submitted on: Tue 19 Apr 2016 02:23:03 AM UTC
Category: Performance
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Doug Sherman
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.1
Operating System: GNU/Linux
_______________________________________________________
Details:
I have attached two functions. test_lwpr_nD.m is a helper function that runs a
test of lwpr.m. I just tested on Matlab, and it works fine, but on octave I
get an error relating to subscripts. I believe that this may have something to
do with all the Matlab short-circuits throughout the code.
these are the errors
error: lwpr: subscript indices must be either positive integers less than 2^31
or logicals
error: called from:
error: /home/dsherman/Desktop/CLMC/LWPR/lwpr.m at line 293, column 7
error: /home/dsherman/Desktop/CLMC/LWPR/test_lwpr_nD.m at line 71, column
16
note: I get a lot of these warnings on octave as well
warning: /home/dsherman/Desktop/CLMC/LWPR/lwpr.m: possible Matlab-style
short-circuit operator at line 777, column 53
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 19 Apr 2016 02:23:03 AM UTC Name: lwpr.m Size: 24kB By: None
simply run test_lwpr_nD without any parameters.
<http://savannah.gnu.org/bugs/download.php?file_id=36959>
-------------------------------------------------------
Date: Tue 19 Apr 2016 02:23:03 AM UTC Name: test_lwpr_nD.m Size: 5kB By:
None
simply run test_lwpr_nD without any parameters.
<http://savannah.gnu.org/bugs/download.php?file_id=36960>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47735>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47735] Code doesn't work on Octave, but does on MATLAB,
anonymous <=