Die Verwendung von \pgfkeysvalueof führt zu „Dimension zu groß“

Die Verwendung von \pgfkeysvalueof führt zu „Dimension zu groß“

Wie der Titel schon sagt, habe ich das Problem, dass die Verwendung von \pgfkeysvalueofzu einem „Dimension zu groß“-Fehler führt. Hier ist ein MWE:

\documentclass{standalone}

\usepackage{pgfplots}
\pgfplotsset{compat=newest, samples=200}

\begin{document}
\begin{tikzpicture}
\begin{axis}[%
    xmin=-2, xmax=2,
    ymin=-2, ymax=2,
    xtick={\pgfkeysvalueof{/pgfplots/xmin},...,\pgfkeysvalueof{/pgfplots/xmax}},
    ytick={\pgfkeysvalueof{/pgfplots/ymin},...,\pgfkeysvalueof{/pgfplots/ymax}},
    ]
\addplot[domain=-2:2, smooth, blue, thick]{x^2};
\end{axis}
\end{tikzpicture}
\end{document} 

Das Kuriose ist, dass dieser Fehler nur auf meinem Macbook auftritt, während er beim iMac kein Problem darstellt. Auf beiden Rechnern ist Mactex2016 installiert, nur die Versionen von pgfplots sind nicht gleich.

Ausgabe tlmgr info pgfplotsin Terminal.app auf dem Macbook:

package:     pgfplots
category:    Package
shortdesc:   Create normal/logarithmic plots in two and three dimensions
longdesc:    ....
installed:   Yes
revision:    41838
sizes:       src: 993k, doc: 16189k, run: 3521k
relocatable: No
cat-version: 1.14
cat-date:    2016-08-11 04:56:10 +0200
cat-license: gpl3
cat-topics:  graphics-plot pgf-tikz
cat-related: pst-plot pgfplotstable
collection:  collection-pictures

Und auf dem iMac:

package:     pgfplots
category:    Package
shortdesc:   Create normal/logarithmic plots in two and three dimensions
longdesc:    ...
installed:   Yes
revision:    40966
sizes:       src: 901k, doc: 15645k, run: 3429k
relocatable: No
cat-version: 1.13
cat-date:    2016-01-07 22:13:11 +0100
cat-license: gpl3
cat-topics:  graphics-plot pgf-tikz
cat-related: pst-plot pgfplotstable
collection:  collection-pictures

Wenn ich die Häkchen per Hand setze xtick={-2,...,2}, ytick={-2,...,2}, läuft es auch auf meinem Macbook fehlerfrei. Ist das ein bekannter Bug oder gibt es eine Möglichkeit, damit umzugehen?

Edit: Die Version von pgfplots auf dem Macbook scheint die neuste zu sein, zumindest tlmgr update --allwerden keine verfügbaren Updates aufgelistet. Kopiere ich die ältere pgfplots 1.13 vom iMac auf das Macbook, läuft das obige MWE ohne Fehler.

verwandte Informationen