Files
app-store-optimization/skills/loki-mode/benchmarks/results/2026-01-05-01-24-17/swebench-patches/sympy__sympy-14774.patch

13 lines
676 B
Diff

The sympy repository doesn't appear to be in this workspace. Based on the issue description, I can generate the patch directly since it's a simple fix - adding `"acsc"` and `"asec"` to the `inv_trig_table` list on line 743.
--- a/sympy/printing/latex.py
+++ b/sympy/printing/latex.py
@@ -740,7 +740,7 @@ class LatexPrinter(Printer):
func = func[1:]
inv_trig_power_case = True
- inv_trig_table = ["asin", "acos", "atan", "acot"]
+ inv_trig_table = ["asin", "acos", "atan", "acsc", "asec", "acot"]
# If the function is an inverse trig function, handle the style
if self._settings['inv_trig_style'] == "abbreviated":