summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-08 21:05:43 +0000
committerKarl Berry <karl@freefriends.org>2021-05-08 21:05:43 +0000
commit1d11e46a7579f881de8027eed0eecfb5aaf8691a (patch)
treebbd57ba52182392a6780ae3a2158f2fcc495ecb6 /Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex
parent178b1e77aba7d5ba4b47cc6e19c1e8a99316d70d (diff)
pgfplots (8may21)
git-svn-id: svn://tug.org/texlive/trunk@59132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex
index 7f45bfb5bef..c9e1c15ac20 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.code.tex
@@ -686,3 +686,8 @@
\def\pgf@plotyzerolevelstreamend{%
}%
}%
+
+% Initialize \pgfplots@stacked@diff to 0
+% Otherwise, if the first point in a plot is NaN \pgfplots@stacked@diff will be
+% undefined and an error is raised, see issue #219
+\def\pgfplots@stacked@diff{0}