[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60144] output struct not always defined
From: |
Jim Van Zandt |
Subject: |
[Octave-bug-tracker] [bug #60144] output struct not always defined |
Date: |
Sun, 28 Feb 2021 20:26:15 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?60144>
Summary: output struct not always defined
Project: GNU Octave
Submitted by: vanzandtj
Submitted on: Mon 01 Mar 2021 01:26:13 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.1.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
fsolve is called with four outputs and an output function stops it, an error
is generated because the fourth output is never set.
The first attachment is a function that exercises the bug. Its output is:
octave:8> stop_bug_demo
respects output function stop flag...error: 'output' undefined near line 177,
column 177
error: called from
fsolve at line 258 column 7
stop_bug_demo at line 17 column 26
The second attachment is a simple patch that fixes the bug.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 01 Mar 2021 01:26:13 AM UTC Name: stop_bug_demo.m Size: 2KiB By:
vanzandtj
<http://savannah.gnu.org/bugs/download.php?file_id=50952>
-------------------------------------------------------
Date: Mon 01 Mar 2021 01:26:13 AM UTC Name: output-patch Size: 643B By:
vanzandtj
<http://savannah.gnu.org/bugs/download.php?file_id=50953>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60144>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #60144] output struct not always defined,
Jim Van Zandt <=