[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56959] issue warning when range operator has
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56959] issue warning when range operator has complex arguments |
Date: |
Fri, 27 Sep 2019 16:27:45 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<https://savannah.gnu.org/bugs/?56959>
Summary: issue warning when range operator has complex
arguments
Project: GNU Octave
Submitted by: rik5
Submitted on: Fri 27 Sep 2019 01:27:43 PM PDT
Category: Interpreter
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Feature Request
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The range operator does not support complex arguments. That by itself is
fine, but it would be nice if there was a warning issued by the interpreter
that they are unsupported. Instead, Octave just returns an empty matrix.
Sample code to reproduce:
x = -pi*i:0.1*i:pi*i
x = [](1x0)
For comparison, Matlab returns the empty matrix, but also issues a warning.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56959>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56959] issue warning when range operator has complex arguments,
Rik <=