Improved code readability
This commit is contained in:
parent
d6c47bd43e
commit
897cb022b1
2 changed files with 30 additions and 26 deletions
|
|
@ -329,7 +329,7 @@ def _get_version_from_toml(toml_path: str) -> str:
|
|||
return "Undefined"
|
||||
|
||||
|
||||
def quadratic(x, a, b, c):
|
||||
def quadratic(x: float, a: float, b: float, c: float):
|
||||
"""Quadratic function. Used for predicting z.
|
||||
|
||||
:param x: The points at which to evaluate the quadratic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue