|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #56623] webread with one argument errors on varargin |
Date: | Fri, 12 Jul 2019 16:28:12 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 |
URL: <https://savannah.gnu.org/bugs/?56623> Summary: webread with one argument errors on varargin Project: GNU Octave Submitted by: mtmiller Submitted on: Fri 12 Jul 2019 01:28:11 PM PDT Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Unexpected Error Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: The webread function docstring says it can be called with just one URL argument. However, >> webread ('http://www.example.org/') error: varargin(0): subscripts must be either integers 1 to (2^63)-1 or logicals error: called from webread at line 51 column 3 This looks like it should be easy to fix with some nargin checks. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56623> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |