Skip to content

Commit 786247c

Browse files
authored
Fix docs (#528)
1 parent d476eba commit 786247c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ conda install -c conda-forge optimagic
1212
Alternatively, you can install optimagic via pip:
1313

1414
```
15-
pip install estimagic
15+
pip install optimagic
1616
```
1717

1818
In both cases, you get optimagic and all of its mandatory dependencies.

src/optimagic/deprecations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def replace_and_warn_about_deprecated_multistart_options(options):
410410
"The `convergence_relative_params_tolerance` option is deprecated and will "
411411
"be removed in version 0.6.0. Use `convergence_xtol_rel` instead. For more "
412412
"details see the documentation: "
413-
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_convergence.html"
413+
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_multistart.html"
414414
)
415415
warnings.warn(msg, FutureWarning)
416416
if options.convergence_xtol_rel is None:
@@ -425,7 +425,7 @@ def replace_and_warn_about_deprecated_multistart_options(options):
425425
"handling for exploration. Use the new `error_handling` option to set the "
426426
"error handling for both optimization and exploration. For more details "
427427
"see the documentation: "
428-
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_error_handling.html"
428+
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_multistart.html"
429429
)
430430
warnings.warn(msg, FutureWarning)
431431
if options.error_handling is None:
@@ -438,7 +438,7 @@ def replace_and_warn_about_deprecated_multistart_options(options):
438438
"handling for exploration. Use the new `error_handling` option to set the "
439439
"error handling for both optimization and exploration. For more details "
440440
"see the documentation: "
441-
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_error_handling.html"
441+
"https://optimagic.readthedocs.io/en/latest/how_to/how_to_multistart.html"
442442
)
443443
warnings.warn(msg, FutureWarning)
444444
if options.error_handling is None:

0 commit comments

Comments
 (0)