Skip to content

Commit 8d5e646

Browse files
authored
Hide repr_latex
1 parent ed739fe commit 8d5e646

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

symengine/printing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .lib.symengine_wrapper import ccode, sympify, Basic, repr_latex
1+
from .lib.symengine_wrapper import ccode, sympify, Basic, repr_latex as _repr_latex
22

33
class CCodePrinter:
44

@@ -28,6 +28,6 @@ def init_printing(pretty_print=True, use_latex=True):
2828
if pretty_print:
2929
if not use_latex:
3030
raise RuntimeError("Only latex is supported for pretty printing")
31-
repr_latex[0] = True
31+
_repr_latex[0] = True
3232
else:
33-
repr_latex[0] = False
33+
_repr_latex[0] = False

0 commit comments

Comments
 (0)