You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2020. It is now read-only.
When parsing back the obtained latex on a sympy Integral object to process_sympy(), it throws an exception. Adding code snippet and error log. Occurs on python 2.7 and 3.
The error occurs due to the extra "," being generated and if I add this line
latex_expr = latex_expr.replace("\,", "")
before passing latex_expr back to process_sympy() it seems to be working fine.
from sympy import *
from sympy.abc import *
from process_latex import process_sympy
When parsing back the obtained latex on a sympy Integral object to process_sympy(), it throws an exception. Adding code snippet and error log. Occurs on python 2.7 and 3.
The error occurs due to the extra "," being generated and if I add this line
latex_expr = latex_expr.replace("\,", "")
before passing latex_expr back to process_sympy() it seems to be working fine.
from sympy import *
from sympy.abc import *
from process_latex import process_sympy
expr = Integral((x+1)**2, x)
latex_expr = latex(expr)
back_to_expr = process_sympy(latex_expr)
Exception: I don't understand this
\int \left(x + 1\right)^{2}, dx
The text was updated successfully, but these errors were encountered: