Fix casting to int in SLO-Generic
All threads resolved!
All threads resolved!
Compare changes
Files
2+ 1
− 1
@@ -37,7 +37,7 @@ def aggr_query(values: dict, warmup: int, aggr_func):
The SLO generics needs integer values. But in some cases converting to int does not work correctly.
For example, the value: "3970.00000000005" cannot be cast to an integer and the evaluation fails. In this case it is necessary to cast first to a float and then to an integer.