[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38374] wrong isargout with indexed cell array
From: |
John Hunt |
Subject: |
[Octave-bug-tracker] [bug #38374] wrong isargout with indexed cell array function handle |
Date: |
Fri, 22 Feb 2013 11:48:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 |
URL:
<http://savannah.gnu.org/bugs/?38374>
Summary: wrong isargout with indexed cell array function
handle
Project: GNU Octave
Submitted by: huntj
Submitted on: Fri 22 Feb 2013 11:48:36 AM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.3
Operating System: GNU/Linux
_______________________________________________________
Details:
The 6th output is wrong
same result with 3.6.4 (this version is not in the bug tracker yet)
GNU Octave, version 3.6.3
octave:1> function [a, b, c] = f() disp(isargout(2)); a=0; b=0; c=0;
endfunction
octave:2> [a, b, c] = f();
1
octave:3> [a, ~, c] = f();
0
octave:4> ff = address@hidden
ff =
{
[1,1] = @f
}
octave:5> [a, b, c] = ff{1}();
1
octave:6> [a, ~, c] = ff{1}();
1
octave:7> fff = ff{1}
fff = @f
octave:8> [a, ~, c] = fff();
0
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38374>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38374] wrong isargout with indexed cell array function handle,
John Hunt <=