Skip to content

Commit

Permalink
fix: x -> x1
Browse files Browse the repository at this point in the history
  • Loading branch information
qzylalala committed Feb 2, 2023
1 parent e8cf0b8 commit 1e1e045
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Frontend/AutoDiff/05.forward_mode.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -62,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -169,7 +169,7 @@
},
{
"cell_type": "code",
"execution_count": 91,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand All @@ -183,7 +183,7 @@
"source": [
"x1 = ADTangent(x=2., dx=1)\n",
"x2 = ADTangent(x=5., dx=0)\n",
"f = ADTangent.log(x) + x * x2 - ADTangent.sin(x2)\n",
"f = ADTangent.log(x1) + x1 * x2 - ADTangent.sin(x2)\n",
"print(f)"
]
},
Expand Down

0 comments on commit 1e1e045

Please sign in to comment.