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: Rik
Subject: [Octave-bug-tracker] [bug #52009] allow creation of 1-by-1 array with a single function handle
Date: Fri, 15 Sep 2017 15:09:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

This is probably beyond me.  I took a look and I couldn't follow all the
twists and turns between different templates for do_single_type_concat and
single_type_concat in pt-tm-const.[cc|h].  It seems like eventually there is
just an octave_value_extract<T> (...), but not clear to me how to promote some
of that code up in to pt-eval.cc.  Alternatively, it looks like there are
occasional optimizations in the concat routines.  Maybe they should be
checking for the 1x1 case and optimizing there.

    _______________________________________________________

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]