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

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

[Octave-bug-tracker] [bug #59856] interpn with vectors: unexpected error


From: Rik
Subject: [Octave-bug-tracker] [bug #59856] interpn with vectors: unexpected error regarding incompatible size
Date: Tue, 12 Jan 2021 11:53:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Update of bug #59856 (project octave):

                  Status:          Ready For Test => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #4:

I just added to Markus's changeset here
(http://hg.savannah.gnu.org/hgweb/octave/rev/4cb0fc7ecd4b) with a 10X speed
improvement.  It's not that the input validation was particularly slow (~1
millisecond on my computer), but it made use of cellfun() (which is slow then
not using one of the few built-in accelerated functions) and isequal() (which
is slow because it is an m-file).  I replaced with a single call to
size_equal() which is a C++ function and it reduced the time to 0.1
millisecond.

I separately tested the fix and it works fine.  Marking bug as fixed and
closing report.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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