Improved code readability

This commit is contained in:
Chish36 2025-07-30 17:44:19 +01:00 committed by Julian Stirling
parent d6c47bd43e
commit 897cb022b1
2 changed files with 30 additions and 26 deletions

View file

@ -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.