Skip to content

Commit

Permalink
Merge pull request DEAP#714 from bje-/missing-return-fix
Browse files Browse the repository at this point in the history
Fix missing return statement
  • Loading branch information
fmder authored Jul 23, 2023
2 parents 2fbef3f + d393484 commit 6b63e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deap/benchmarks/gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def sin_cos(data):
* - Function
- :math:`f(\mathbf{x}) = 6\sin(x_1)\cos(x_2)`
"""
6 * sin(data[0]) * cos(data[1])
return 6 * sin(data[0]) * cos(data[1])


def ripple(data):
Expand Down

0 comments on commit 6b63e7a

Please sign in to comment.