Skip to content

Commit

Permalink
Fix warning in notebook.
Browse files Browse the repository at this point in the history
  • Loading branch information
janosg committed Jul 19, 2024
1 parent d697cae commit da09eba
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions docs/source/tutorials/optimization_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,6 @@
"execution_count": 15,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/janosgabler/Dropbox/Projects/optimagic/src/optimagic/deprecations.py:29: FutureWarning:\n",
"\n",
"To align optimagic with scipy.optimize, the `derivative` argument has been renamed to `jac`. Please use `jac` instead of `derivative`. Using `derivative` will become an error in optimagic version 0.6.0 and later.\n",
"\n"
]
},
{
"data": {
"text/plain": [
Expand All @@ -436,7 +426,7 @@
" fun=sphere,\n",
" params=np.arange(5),\n",
" algorithm=\"scipy_lbfgsb\",\n",
" derivative=sphere_gradient,\n",
" jac=sphere_gradient,\n",
")\n",
"res.params.round(5)"
]
Expand Down

0 comments on commit da09eba

Please sign in to comment.