Skip to content
Snippets Groups Projects
Commit d3aa7c68 authored by Jan Hönig's avatar Jan Hönig Committed by Martin Bauer
Browse files

Updated pystencils jupyter notebooks

Fixed a bug in field.py
parent 2afb8023
Branches
Tags
No related merge requests found
...@@ -432,7 +432,7 @@ class Field(object): ...@@ -432,7 +432,7 @@ class Field(object):
return t return t
def _latex(self, _): 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: if self._superscript:
return "{{%s}_{%s}^{%s}}" % (n, self._offsetName, self._superscript) return "{{%s}_{%s}^{%s}}" % (n, self._offsetName, self._superscript)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment