[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35472] inline function can't handle structure
From: |
ira ekhaus |
Subject: |
[Octave-bug-tracker] [bug #35472] inline function can't handle structure.element references |
Date: |
Tue, 07 Feb 2012 23:35:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2 |
URL:
<http://savannah.gnu.org/bugs/?35472>
Summary: inline function can't handle structure.element
references
Project: GNU Octave
Submitted by: ibe
Submitted on: Tue 07 Feb 2012 11:35:35 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.0
Operating System: GNU/Linux
_______________________________________________________
Details:
Here's a diff between matlab and octave that I haven't seen documented.
In matlab
>> isel=inline ('[ (FF.a) (FF.b)]')
isel =
Inline function:
isel(FF) = [ (FF.a) (FF.b)]
In octave
the result is not the same.
octave> isel=inline ('[ FF.a FF.b]')
isel = f(F, FF, a, b) = [ FF.a FF.b]
or trying to use the () to help.....
octave> isel=inline ('[ (FF).a (FF).b]')
isel = f(FF, b) = [ (FF).a (FF).b]
so , the interpreter is asking for more variables than I intend.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35472>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35472] inline function can't handle structure.element references,
ira ekhaus <=