Skip to content

Commit fea55f8

Browse files
authored
Fix bug on log10 representation (#190)
1 parent 4a0eaf4 commit fea55f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/latexify/codegen/expression_rules.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class FunctionRule:
252252
"fsum": FunctionRule(r"\sum", is_unary=True),
253253
"gamma": FunctionRule(r"\Gamma"),
254254
"log": FunctionRule(r"\log", is_unary=True),
255-
"log10": FunctionRule(r"\log_10", is_unary=True),
255+
"log10": FunctionRule(r"\log_{10}", is_unary=True),
256256
"log2": FunctionRule(r"\log_2", is_unary=True),
257257
"prod": FunctionRule(r"\prod", is_unary=True),
258258
"sec": FunctionRule(r"\sec", is_unary=True),

0 commit comments

Comments
 (0)