Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
edxmorgan committed Jan 29, 2025
1 parent 07856ac commit 4b083dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions usage/code_generation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%run forward_dynamics_example.ipynb"
"%run forward_simulation.ipynb"
]
},
{
Expand Down Expand Up @@ -34,8 +34,8 @@
],
"source": [
"# c , cpp or matlab code generation for forward dynamics\n",
"F.generate(\"Vnext.c\")\n",
"os.system(f\"gcc -fPIC -shared Vnext.c -o libVnext.so\")"
"Fsim.generate(\"Vnext.c\")\n",
"os.system(f\"gcc -fPIC -shared Vnext.c -o libUV_xnext.so\")"
]
},
{
Expand All @@ -62,7 +62,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion usage/forward_simulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 4b083dd

Please sign in to comment.