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

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

[Octave-bug-tracker] [bug #34536] isvector gives wrong answer when check


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #34536] isvector gives wrong answer when checking function_handle
Date: Wed, 12 Oct 2011 13:54:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Ubuntu/10.10 (maverick) Firefox/3.6.23

Follow-up Comment #9, bug #34536 (project octave):

To make it concrete
> accumarray(1,1)
ans =  1
octave:61> accumarray(1,@sin)
error: accumarray: wrong type argument `function handle'
>isvector(@sin)
ans = 1
> help accumarray
Create an array by accumulating the elements of a **vector** into the
positions defined by their subscripts.  The subscripts are defined by the rows
of the matrix SUBS and the values by VALS.

Do you see what I mean?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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