Skip to content

Commit

Permalink
VERSION 0.6.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
blankjul committed Jul 29, 2024
1 parent ac11f61 commit 02ce5bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prune .
recursive-include pymoo *.py *.pyx *.pxd
recursive-include pymoo/cython/vendor *.cpp *.h *.py
include LICENSE Makefile
include LICENSE Makefile pyproject.toml
4 changes: 0 additions & 4 deletions pymoo/algorithms/moo/nsga2.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ def binary_tournament(pop, P, algorithm, **kwargs):
class RankAndCrowdingSurvival(RankAndCrowding):

def __init__(self, nds=None, crowding_func="cd"):
warnings.warn(
"RankAndCrowdingSurvival is deprecated and will be removed in version 0.8.*; use RankAndCrowding operator instead, which supports several and custom crowding diversity metrics.",
DeprecationWarning, 2
)
super().__init__(nds, crowding_func)

# =========================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions pymoo/gradient/grad_autograd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

try:
import autograd.numpy as anp
from autograd import value_and_grad
from autograd.core import VJPNode, backward_pass
from autograd.tracer import new_box, isbox
except:
print("autograd only supports numpy < 2.0.0 versions.")


def value_and_grad(*args, **kwargs):
return value_and_grad(*args, **kwargs)
from autograd import value_and_grad as vag
return vag(*args, **kwargs)


def log(*args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion pymoo/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.1.2"
__version__ = "0.6.1.3"

0 comments on commit 02ce5bf

Please sign in to comment.