Skip to content

Commit

Permalink
fix: x to X
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter committed Jan 17, 2025
1 parent cd66f1a commit f9824cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@
" if soft:\n",
" X = np.tanh(X)\n",
" else:\n",
" X[x < 0] = -1\n",
" X[x >= 0] = 1\n",
" X[X < 0] = -1\n",
" X[X >= 0] = 1\n",
" Xs[i] = X\n",
" return Xs\n",
"\n",
Expand Down

0 comments on commit f9824cb

Please sign in to comment.