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

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

[Octave-bug-tracker] [bug #63950] trapz inconsistent results and error m


From: Rik
Subject: [Octave-bug-tracker] [bug #63950] trapz inconsistent results and error messages with empty inputs
Date: Tue, 21 Mar 2023 20:17:59 -0400 (EDT)

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

I really strive to avoid Garbage In / Garbage Out situations in Octave.  If
there are improvements to the input validation for trapz() I would be in favor
of making those.  For example, I dislike this result which conjures a valid
return value (0) from non-existent input data


a = [];
trapz (a,a)
ans = 0




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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