deepsource-autofix[bot] commited on
Commit
b4577d9
1 Parent(s): d1f1f2c

Format code with black

Browse files
Files changed (1) hide show
  1. pysr/export_latex.py +1 -3
pysr/export_latex.py CHANGED
@@ -21,9 +21,7 @@ def to_latex(expr, prec=3, full_prec=True, **settings):
21
  """Convert sympy expression to LaTeX with custom precision."""
22
  if len(settings) == 0:
23
  settings = None
24
- printer = PreciseLatexPrinter(
25
- settings=settings, prec=prec, full_prec=full_prec
26
- )
27
  return printer.doprint(expr)
28
 
29
 
 
21
  """Convert sympy expression to LaTeX with custom precision."""
22
  if len(settings) == 0:
23
  settings = None
24
+ printer = PreciseLatexPrinter(settings=settings, prec=prec, full_prec=full_prec)
 
 
25
  return printer.doprint(expr)
26
 
27