Skip to content

Commit

Permalink
Clean up documents
Browse files Browse the repository at this point in the history
  • Loading branch information
tzunghanjuang committed Aug 12, 2024
1 parent b97efc5 commit 16781ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,8 @@
It also supports mutti-dimensional arrays as function's inputs. [(#1003)](https://github.com/PennyLaneAI/catalyst/pull/1003)

```py
import os
import subprocess
from catalyst.debug.compiler_functions import compile_executable, run_cmain_executable
from catalyst.debug import compile_executable, run_cmain_executable

@qjit
def f(x):
Expand Down
3 changes: 1 addition & 2 deletions doc/dev/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,8 @@ Here we use ``subprocess.run`` to test if the command works properly.

.. code-block:: python
import os
import subprocess
from catalyst.debug.compiler_functions import compile_executable
from catalyst.debug import compile_executable
binary = compile_executable(f, 1)
result = subprocess.run(binary, capture_output=True, text=True, check=True)
Expand Down

0 comments on commit 16781ff

Please sign in to comment.