Skip to content

Commit

Permalink
Move scary numpy warning from front page to creator ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed May 2, 2015
1 parent c5336c6 commit 0c14a0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions deap/creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ def __init__(self):
The :ref:`creating-types` tutorial gives more examples of the creator
usage.
.. warning::
If your are inheriting from :class:`numpy.ndarray` see the
:doc:`tutorials/advanced/numpy` tutorial and the
:doc:`/examples/ga_onemax_numpy` example.
"""

if name in globals():
Expand Down
6 changes: 0 additions & 6 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ in perfect harmony with parallelisation mechanism such as multiprocessing and `S
<http://pyscoop.org/>`_. The following documentation presents the key concepts
and many features to build your own evolutions.

.. warning::

If your are inheriting from :class:`numpy.ndarray` see the
:doc:`tutorials/advanced/numpy` tutorial and the
:doc:`/examples/ga_onemax_numpy` example.

.. sidebar:: Getting Help

Having trouble? We’d like to help!
Expand Down

0 comments on commit 0c14a0f

Please sign in to comment.