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

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

[Octave-bug-tracker] [bug #55264] mean([]) throws incompatible warning


From: Hartmut
Subject: [Octave-bug-tracker] [bug #55264] mean([]) throws incompatible warning
Date: Fri, 21 Dec 2018 16:02:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #2, bug #55264 (project octave):

I think in "mean" there should be no need to actually do a division by zero,
just because the user inputs an empty matrix. Couldn't we simply avoid this
division by zero itself by some kind of if-statement?

I would prefer to see this issue treated seperatly from the general case,
probably in the code of "mean". Because this general case of muting this
warning by default (as is discussed in bug #46650) is probably more
controversal and therefore might take longer time to agree on.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55264>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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