mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Upgrade to flake8 v6 (#8007)
* Upgrade to flake8 v6 * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -314,7 +314,7 @@ class SmoSVM:
|
||||
l, h = max(0.0, a2 - a1), min(self._c, self._c + a2 - a1)
|
||||
else:
|
||||
l, h = max(0.0, a2 + a1 - self._c), min(self._c, a2 + a1)
|
||||
if l == h: # noqa: E741
|
||||
if l == h:
|
||||
return None, None
|
||||
|
||||
# calculate eta
|
||||
|
Reference in New Issue
Block a user