mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-04 08:50:41 +08:00
pyupgrade --py37-plus **/*.py (#1654)
* pyupgrade --py37-plus **/*.py * fixup! Format Python code with psf/black push
This commit is contained in:

committed by
John Law

parent
34c808b375
commit
28419cf839
@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Fri Sep 28 15:22:29 2018
|
||||
|
||||
|
@ -389,10 +389,7 @@ class IndexCalculation:
|
||||
:return: index
|
||||
"""
|
||||
return np.arctan(
|
||||
(
|
||||
((2 * self.red - self.green - self.blue) / 30.5)
|
||||
* (self.green - self.blue)
|
||||
)
|
||||
((2 * self.red - self.green - self.blue) / 30.5) * (self.green - self.blue)
|
||||
)
|
||||
|
||||
def IVI(self, a=None, b=None):
|
||||
|
Reference in New Issue
Block a user