Fix some annotations, arguments, and docstring formatting
This commit is contained in:
parent
19b2afe7d7
commit
8a0836f368
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: float, a: float, b: float, c: float):
|
||||
def quadratic(x: float, a: float, b: float, c: float) -> 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