MCPcopy
hub / github.com/deepseek-ai/DeepSeek-Coder / _fix_sqrt

Function _fix_sqrt

Evaluation/PAL-Math/utils/parser.py:57–59  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

55
56
57def _fix_sqrt(string):
58 _string = re.sub(r"\\sqrt(\w+)", r"\\sqrt{\1}", string)
59 return _string
60
61
62def strip_string(string):

Callers 1

strip_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected