[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/
- [Octave-bug-tracker] [bug #63950] trapz error with empty inputs, Chad Oldfield, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz error with empty inputs, Dmitri A. Sergatskov, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz error with empty inputs, Nicholas Jankowski, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz error with empty inputs, Nicholas Jankowski, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz error with empty inputs, Dmitri A. Sergatskov, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz error with empty inputs, Chad Oldfield, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz inconsistent results and error messages with empty inputs, Nicholas Jankowski, 2023/03/21
- [Octave-bug-tracker] [bug #63950] trapz inconsistent results and error messages with empty inputs,
Rik <=
- [Octave-bug-tracker] [bug #63950] trapz inconsistent results and error messages with empty inputs, Chad Oldfield, 2023/03/22