mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
remove isfloat()
function is not used here
This commit is contained in:
parent
52026fa36a
commit
ae5ead0884
@ -11,16 +11,6 @@ from akkudoktoreos.class_inverter import Wechselrichter
|
|||||||
from akkudoktoreos.config import moegliche_ladestroeme_in_prozent
|
from akkudoktoreos.config import moegliche_ladestroeme_in_prozent
|
||||||
from akkudoktoreos.visualize import visualisiere_ergebnisse
|
from akkudoktoreos.visualize import visualisiere_ergebnisse
|
||||||
|
|
||||||
|
|
||||||
def isfloat(num: Any) -> bool:
|
|
||||||
"""Check if a given input can be converted to float."""
|
|
||||||
try:
|
|
||||||
float(num)
|
|
||||||
return True
|
|
||||||
except ValueError:
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
class optimization_problem:
|
class optimization_problem:
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user