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

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

[Octave-bug-tracker] [bug #34765] can't index scalar in anonymous functi


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #34765] can't index scalar in anonymous functions
Date: Mon, 07 Nov 2011 01:30:12 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.22) Gecko/20110905 Ubuntu/10.04 (lucid) Firefox/3.6.22

Follow-up Comment #1, bug #34765 (project octave):

I tried a bit more, and found that the problem is more general. Having a
matrix also causes an error


octave>  k = 1; in = [0,1]; foo = @(x) in(x); foo (k)
error: can't perform indexing operations for matrix type


This seems to be fixed on the dev release (thanks Jordi).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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