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
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment