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

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

[Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing w


From: Rik
Subject: [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function
Date: Fri, 30 Jan 2015 19:49:36 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

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

The bug seems to be related to having a function both as a file and in the
symbol table.  See this sequence with the givens() functions from givens.cc. 
I should get an undefined error when using givens.cc (), but instead it
somehow calls the function with arguments (maybe with *self as the first
parameter?).


octave:6> givens (1,1)
ans =

   0.70711   0.70711
  -0.70711   0.70711

octave:7> givens.cc (1,1)
error: Invalid call to givens.  Correct usage is:

 -- Built-in Function: G = givens (X, Y)
 -- Built-in Function: [C, S] = givens (X, Y)


octave:7> gibens (1,1)
error: 'gibens' undefined near line 1 column 1
octave:7> which givens.cc
'givens.cc' is the file
/home/rik/wip/Projects_Mine/octave-dev/libinterp/corefcn/givens.cc




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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