bugGNU Octave - Bugs: bug #47735, Code doesn't work on Octave, but...

 
 

bug #47735: Code doesn't work on Octave, but does on MATLAB

Submitted by:  None
Submitted on:  Tue 19 Apr 2016 02:23:03 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: InvalidAssigned to: None
Originator Name: Doug ShermanOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 19 Apr 2016 04:16:21 AM UTC, comment #1:

3.8.1 is a very ancient version of Octave and is no longer supported. I can run your script just fine in the current stable version of Octave (v4.0.1). It does prodce a warning about short-circuit operators, but just a warning--not an error.

Upgrade to be able to run your script.

Rik <rik5>
Project Administrator
Tue 19 Apr 2016 02:23:03 AM UTC, original submission:

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
note: I get a lot of these warnings on octave as well

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #36959:  lwpr.m added by None (24KiB - text/x-objcsrc - simply run test_lwpr_nD without any parameters.)
file #36960:  test_lwpr_nD.m added by None (5KiB - text/x-objcsrc - simply run test_lwpr_nD without any parameters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 19 Apr 2016 04:16:21 AM UTCrik5CategoryPerformance=>Interpreter
      StatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 19 Apr 2016 02:23:03 AM UTCNoneAttached File-=>Added lwpr.m, #36959
      Attached File-=>Added test_lwpr_nD.m, #36960

    Back to the top


    Powered by Savane 3.1-cleanup1