changeset 29072:a0be96cd13c5

Fix thinko in cset d2f7fb06bce3. * __bar__.m: Delete re-definition of ypos, yneg variables.
author Rik <rik@octave.org>
date Thu, 19 Nov 2020 08:30:13 -0800
parents d2f7fb06bce3
children f39e75f35e48
files scripts/plot/draw/private/__bar__.m
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/private/__bar__.m	Tue Nov 17 15:52:03 2020 -0500
+++ b/scripts/plot/draw/private/__bar__.m	Thu Nov 19 08:30:13 2020 -0800
@@ -190,8 +190,6 @@
     if (stacked && any (y(:) < 0))
       ypos = (y >= 0);
       yneg = (y <  0);
-      ypos = y .* ypos;
-      yneg = y .* yneg;
 
       y1p =  cumsum (y .* ypos, 2);
       y1n =  cumsum (y .* yneg, 2);