hendrycks / math

The MATH Dataset (NeurIPS 2021)
MIT License
879 stars 85 forks source link

Tiny fix error "SyntaxError: invalid escape sequence '\%'" #26

Open fzyzcjy opened 3 months ago

fzyzcjy commented 3 months ago

The original code gives syntax error:

E     File "math_equivalence.py", line 110
E       string = string.replace("\%", "")
E                               ^^^^
E   SyntaxError: invalid escape sequence '\%'

I guess it means "%" so made this tiny change. Please correct me if I am wrong!