|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #57528] imread always fails when Octave was started with the "--traditional" option |
Date: | Fri, 3 Jan 2020 18:32:42 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #57528 (project octave): Status: Confirmed => Ready For Test _______________________________________________________ Follow-up Comment #5: I crafted a solution by adding an else if block to construct a Range object from a vector/array object. else if (region.is_matrix_type ()) { NDArray array = region.array_value (); double base = array(0); double limit = array(array.numel () - 1); double incr = array(1) - base; output = Range (base, limit, incr); } This seems to work with the test code in this report so I checked it in here https://hg.savannah.gnu.org/hgweb/octave/rev/1a06fa2fe13a. Marking as Ready for Test. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57528> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |