Skip to content

Commit 02ce5bf

Browse files
committed
VERSION 0.6.1.3
1 parent ac11f61 commit 02ce5bf

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
prune .
22
recursive-include pymoo *.py *.pyx *.pxd
33
recursive-include pymoo/cython/vendor *.cpp *.h *.py
4-
include LICENSE Makefile
4+
include LICENSE Makefile pyproject.toml

pymoo/algorithms/moo/nsga2.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ def binary_tournament(pop, P, algorithm, **kwargs):
7070
class RankAndCrowdingSurvival(RankAndCrowding):
7171

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

7975
# =========================================================================================================

pymoo/gradient/grad_autograd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
try:
55
import autograd.numpy as anp
6-
from autograd import value_and_grad
76
from autograd.core import VJPNode, backward_pass
87
from autograd.tracer import new_box, isbox
98
except:
109
print("autograd only supports numpy < 2.0.0 versions.")
1110

1211

1312
def value_and_grad(*args, **kwargs):
14-
return value_and_grad(*args, **kwargs)
13+
from autograd import value_and_grad as vag
14+
return vag(*args, **kwargs)
1515

1616

1717
def log(*args, **kwargs):

pymoo/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.6.1.2"
1+
__version__ = "0.6.1.3"

0 commit comments

Comments
 (0)