Unverified Commit 89e60d15 authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[fx] fixed indentation error in checkpointing codegen (#1385)

parent c7221cb2
......@@ -373,10 +373,10 @@ if codegen_available:
code = ''.join(body)
code = '\n'.join(' ' + line for line in code.split('\n'))
fn_code = f"""
{wrap_stmts}
{wrap_stmts}
{prologue}
{code}"""
{prologue}
{code}"""
return PythonCode(fn_code, globals_)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment