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

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

[Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle
Date: Mon, 18 Sep 2017 03:39:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36

Follow-up Comment #8, bug #52009 (project octave):

My initial idea of getting this done quickly, does not pay off, feeling
similar to Rik in comment #7.

My suggestion of comment #1, just implementing `resize` for
`octave_fcn_handle`, was not the ultimate solution.  It requires to implement
it for `octave_user_function` and some others too, as resize is called
recursively in a way I do not understand.  I am afraid to introduce more bad
and unintended corner cases than just "fixing" that one.

Mike's idea of comment #5 appeals a lot to me.  Avoid the resizing just where
it is called without need, but this goes beyond my knowledge of that code.

So for now I am giving up on this item.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52009>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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