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

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

[Octave-bug-tracker] [bug #36221] using ~ as optional output for unique


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #36221] using ~ as optional output for unique causes error in ismember
Date: Wed, 18 Apr 2012 19:07:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2

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

The originally reported problem is fixed by the changeset I committed, so I
don't think there is anything in unique.m that needs to be changed.

I also don't think that we should require that unused outputs must be set to
something.  Does matlab really require that?  So you have to write things
like


  if isargout (n)
    % compute n-th output
  else
    % no need to compute the n-th output, but we still
    % have to set it, because even though matlab is
    % ignoring this output, it needs a dummy value.
    % Seriously?
    nth_output = [];
  end


Anyway, what is left to fix?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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