Skip to content

Commit

Permalink
test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnivin committed Dec 2, 2024
1 parent 3d0666c commit 7f16b50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
mv talk/slides.html index.html
cp -r talk/figures figures
git add index.html
git add -f talk/figures
git add talk/slides.html
git add -f figures
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down
4 changes: 2 additions & 2 deletions demo/damped_sine_optimization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"metadata": {},
"outputs": [],
"source": [
"method = \"nelder\" # You can play with different methods e.g.: \"nelder\"\n",
"method = \"\" # You can play with different methods e.g.: \"nelder\"\n",
"minimizer = Minimizer(residual, parameters_initial, fcn_args=(x, data))\n",
"result = minimizer.minimize(method=method)\n",
"\n",
Expand All @@ -159,7 +159,7 @@
"plt.scatter(x, data, label=\"Data\", color=\"red\", alpha=0.6)\n",
"plt.plot(x, initial_model, label=\"Initial guess\", linestyle=\"--\", color=\"green\")\n",
"plt.plot(x, final_model, label=\"Fit\", color=\"blue\")\n",
"plt.title(f\"Optimization using {method} method\")\n",
"plt.title(f\"Optimization using <{method}> method\")\n",
"plt.xlabel(\"x\")\n",
"plt.ylabel(\"y\")\n",
"plt.legend()\n",
Expand Down

0 comments on commit 7f16b50

Please sign in to comment.