[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression w
From: |
Fernando |
Subject: |
[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls |
Date: |
Fri, 14 Aug 2020 10:52:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0 |
URL:
<https://savannah.gnu.org/bugs/?58953>
Summary: Error with 'end' in index expression with nested
function calls
Project: GNU Octave
Submitted by: tutissanalio
Submitted on: vie 14 ago 2020 14:52:27 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Octave stable (hg id: af302efce502) throws the following error
octave:1> x=1:10;
octave:2> x(minus(minus(end,1),1))
error: invalid use of 'end': may only be used to index existing value
The result should have been 8 ('end' should take the value 10).
In this other case, the result is correct.
octave:4> x(minus(end,1))
ans = 9
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58953>
_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls,
Fernando <=
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/08/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/08/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/08/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Rik, 2020/08/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/08/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Rik, 2020/08/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/08/15
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/08/15