Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #49 from PasaOpasen/7v
Browse files Browse the repository at this point in the history
v6.7.4
  • Loading branch information
PasaOpasen authored Apr 13, 2022
2 parents f8531bb + 771dee4 commit 192a88e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ version](https://badge.fury.io/py/geneticalgorithm2.svg)](https://pypi.org/proje
- [Installation](#installation)
- [Updates information](#updates-information)
- [**Future**](#future)
- [6.7.4 bug fix](#674-bug-fix)
- [6.7.3 speed up](#673-speed-up)
- [6.7.2 little update](#672-little-update)
- [6.7.1 patch](#671-patch)
Expand Down Expand Up @@ -128,6 +129,10 @@ pip3 install geneticalgorithm2
- `function_timeout` and `function` will be moved to `run()` method
- new stop criteria callbacks (min std, max functions evaluations)

## 6.7.4 bug fix

- bug fix

## 6.7.3 speed up

- refactor to make `run()` method faster
Expand Down
2 changes: 1 addition & 1 deletion geneticalgorithm2/geneticalgorithm2.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def revolution(pop: np.ndarray, scores: np.ndarray, stagnation_count: int) -> Tu

# pop = np.empty((self.pop_s, self.dim+1))
pop = start_generation.variables
scores = start_generation.scores or self.set_function(pop)
scores = start_generation.scores if start_generation.scores is not None else self.set_function(pop)


# Initialization by select bests and local_descent
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name="geneticalgorithm2",
version="6.7.3",
version="6.7.4",
author="Demetry Pascal",
author_email="qtckpuhdsa@gmail.com",
maintainer='Demetry Pascal',
Expand Down

0 comments on commit 192a88e

Please sign in to comment.