octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61815] [octave forge] (image) Fixing Range De


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #61815] [octave forge] (image) Fixing Range Deprecation
Date: Thu, 13 Jan 2022 17:11:55 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?61815>

                 Summary: [octave forge] (image) Fixing Range Deprecation
                 Project: GNU Octave
            Submitted by: avinoam
            Submitted on: UTC 22:11:53 2022 ינו 13 ה'
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Avinoam
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

The range function is deprecated in the next Octave version.
I have fixed it in
http://hg.code.sf.net/p/octave/image/rev/ba0a403d99f3

Now, the image package compiles on 7.0.9 without deprecation warnings, but it
fails on previous versions of Octave:


hough_line.cc:59:31: error: 'range' is not a member of 'octave'
   RowVector bins = RowVector (octave::range<double> (1, nr_bins).array_value
()) - ceil (nr_bins/2.0)


How do I fix this routine such that it will work on the next Octave version,
and on previous versions?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61815>

_______________________________________________
  נשלחה הודעה דרך Savannah
  https://savannah.gnu.org/




reply via email to

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