[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57528] imread always fails when Octave was st

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

Marking as Ready for Test.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]