Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix building of docs with the lastest numpy and sphinx #709

Merged
merged 14 commits into from
Jul 24, 2023
Prev Previous commit
Next Next commit
Adjust doc to MetaEphemeral
  • Loading branch information
fmder committed Jul 24, 2023
commit 7b337b78ee5f0bd80257a8bd7b68f8523505f7e8
2 changes: 1 addition & 1 deletion doc/api/gp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Genetic Programming
.. autoclass:: deap.gp.Terminal
:members:

.. autoclass:: deap.gp.Ephemeral
.. autoclass:: deap.gp.MetaEphemeral
:members:

.. autofunction:: deap.gp.compile
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/gp_symbreg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ simply a mapping from the Python :mod:`operator` module. The number following
the function is the *arity* of the primitive, that is the number of entries
it takes.

On the last line, we declare an :class:`~deap.gp.Ephemeral` constant. This is
On the last line, we declare an :class:`~deap.gp.MetaEphemeral` constant. This is
a special terminal type, which does not have a fixed value. When the program
appends an ephemeral constant terminal to a tree, the function it contains is
executed, and its result is inserted as a constant terminal. In this case,
Expand Down