Skip to content

Commit

Permalink
Fix docs (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens authored Aug 26, 2024
1 parent d476eba commit 786247c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ conda install -c conda-forge optimagic
Alternatively, you can install optimagic via pip:

```
pip install estimagic
pip install optimagic
```

In both cases, you get optimagic and all of its mandatory dependencies.
Expand Down
6 changes: 3 additions & 3 deletions src/optimagic/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def replace_and_warn_about_deprecated_multistart_options(options):
"The `convergence_relative_params_tolerance` option is deprecated and will "
"be removed in version 0.6.0. Use `convergence_xtol_rel` instead. For more "
"details see the documentation: "
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_convergence.html"
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_multistart.html"
)
warnings.warn(msg, FutureWarning)
if options.convergence_xtol_rel is None:
Expand All @@ -425,7 +425,7 @@ def replace_and_warn_about_deprecated_multistart_options(options):
"handling for exploration. Use the new `error_handling` option to set the "
"error handling for both optimization and exploration. For more details "
"see the documentation: "
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_error_handling.html"
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_multistart.html"
)
warnings.warn(msg, FutureWarning)
if options.error_handling is None:
Expand All @@ -438,7 +438,7 @@ def replace_and_warn_about_deprecated_multistart_options(options):
"handling for exploration. Use the new `error_handling` option to set the "
"error handling for both optimization and exploration. For more details "
"see the documentation: "
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_error_handling.html"
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_multistart.html"
)
warnings.warn(msg, FutureWarning)
if options.error_handling is None:
Expand Down

0 comments on commit 786247c

Please sign in to comment.