Commit 495c126f authored by Michael Ott's avatar Michael Ott

Fix typo in OperatorTemplate::getMsgRate()

parent b2ceb1cb
...@@ -214,7 +214,7 @@ public: ...@@ -214,7 +214,7 @@ public:
virtual float getMsgRate() override { virtual float getMsgRate() override {
float msgRate = 0; float msgRate = 0;
for (const auto &u : _units) { for (const auto &u : _units) {
msgRate += (float)u->getBaseOutputs().size() * (1000.0f / (float)_interval) / (float)_minValue; msgRate += (float)u->getBaseOutputs().size() * (1000.0f / (float)_interval) / (float)_minValues;
} }
return msgRate; return msgRate;
} }
......
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