* fix : generate method optimized

* doc : CHANGELOG updated
pull/142/head
Sepand Haghighi 2022-06-21 20:24:24 +04:30 zatwierdzone przez GitHub
rodzic 66d2c788d0
commit fc2dbd0db9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- Random mode modified
- Test system modified
- `generate` method optimized
## [0.8] - 2022-06-01
### Added
- `INVALID_COLOR_TYPE_ERROR` error

Wyświetl plik

@ -79,8 +79,7 @@ class GenerativeImage:
self.data1 = []
self.data2 = []
range1 = list(float_range(self.start, self.stop, self.step))
range2 = list(float_range(self.start, self.stop, self.step))
range_prod = list(itertools.product(range1, range2))
range_prod = list(itertools.product(range1, range1))
calc_exception = False
for point in range_prod:
if not fill_data(self, point):