Commit 00bb584d authored by Anna Warno's avatar Anna Warno
Browse files

time units correected

parent bf63e27e
......@@ -106,7 +106,7 @@ def main():
for i in range(number_of_forward_predictions[metric]):
prediction_msgs, prediction = predict(
metric,
prediction_cycle // msg["publish_rate"],
(prediction_cycle * 1000) // msg["publish_rate"],
extra_data=predictions,
m=i + 1,
prediction_hor=prediction_horizon,
......
......@@ -106,7 +106,7 @@ def main():
for i in range(number_of_forward_predictions[metric]):
prediction_msgs, prediction = predict(
metric,
prediction_cycle // msg["publish_rate"],
(prediction_cycle * 1000) // msg["publish_rate"],
extra_data=predictions,
m=i + 1,
prediction_hor=prediction_horizon,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment