From d3aa7c686224d4bebca5fbd9fddb49e34f6396ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6nig?= <jan.hoenig@fau.de> Date: Thu, 5 Apr 2018 15:34:30 +0200 Subject: [PATCH] Updated pystencils jupyter notebooks Fixed a bug in field.py --- field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/field.py b/field.py index 4e6fb3acd..b81b047dd 100644 --- a/field.py +++ b/field.py @@ -432,7 +432,7 @@ class Field(object): return t def _latex(self, _): - n = self._field.latexName if self._field.latexName else self._field.name + n = self._field.latex_name if self._field.latex_name else self._field.name if self._superscript: return "{{%s}_{%s}^{%s}}" % (n, self._offsetName, self._superscript) else: -- GitLab