Skip to content

Commit

Permalink
Minor documentation/comment fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeReclaimers committed Apr 11, 2022
1 parent b99edd6 commit c46e2c7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/xor_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Overview of the basic XOR example (xor2.py)

.. default-role:: any

The xor2.py example, shown in its entirety at the bottom of this page, evolves a network that implements the two-input
The xor/evolve-feedforward.py example, shown in its entirety at the bottom of this page, evolves a network that implements the two-input
XOR function:

======= ======= ======
Expand Down
2 changes: 1 addition & 1 deletion neat/stagnation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Keeps track of whether species are making progress and helps remove ones that are not."""
"""Keeps track of whether species are making progress and helps remove those which are not."""
import sys

from neat.config import ConfigParameter, DefaultClassConfig
Expand Down
2 changes: 1 addition & 1 deletion tests/test_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from neat import activations


# TODO: These tests are just smoke tests to make sure nothing has become badly broken. Expand
# TODO: These are just smoke tests to make sure nothing has become badly broken. Expand
# to include more detailed tests of actual functionality.

class NotAlmostEqualException(Exception):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reproduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ def test_spawn_adjust3(self):


if __name__ == '__main__':
unittest.main()
unittest.main()
3 changes: 0 additions & 3 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import neat


# import os


# TODO: These tests are just smoke tests to make sure nothing has become badly broken. Expand
# to include more detailed tests of actual functionality.

Expand Down

0 comments on commit c46e2c7

Please sign in to comment.