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

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

[Octave-bug-tracker] [bug #59022] [octave forge] (image) test failures i


From: Hartmut
Subject: [Octave-bug-tracker] [bug #59022] [octave forge] (image) test failures in blockproc.m under Octave 6.0.90
Date: Thu, 27 Aug 2020 17:04:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #3, bug #59022 (project octave):

I found the following in the help string of Octave's inline.m:


Caution:* the use of 'inline' is discouraged and it may be removed
     from a future version of Octave.  The preferred way to create
     functions from strings is through the use of anonymous functions
     (see Anonymous Functions) or 'str2func'.


Should we exchange the use of "inline" in the problematic test code by an
anonymous function, then? An anonymous functions seems to have the classe name
"function_handle" which is then properly checked by the code in blockproc.m.

But maybe (to support the use of inline as long as Octave supports it) we
should nevertheless additionally change the code of blockproc.m such that it
checks for "inline" instead of "inline function" class. Or even allow both
strings (since earlier Octave versions would still give "inline function").

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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