author | Marco Miozzo <marco.miozzo@cttc.es> |
Mon, 08 Apr 2013 16:25:35 +0200 | |
changeset 10035 | c066a43792b3 |
parent 10034 | b60f1fefda78 |
child 10036 | ef2b940112fd |
--- a/src/lte/model/lte-ue-phy.cc Fri Apr 05 12:26:57 2013 +0200 +++ b/src/lte/model/lte-ue-phy.cc Mon Apr 08 16:25:35 2013 +0200 @@ -457,6 +457,8 @@ } double rsrp = sum / (double)rbNum; // averaged SINR among RBs + sum = 0.0; + rbNum = 0; for (it = sinr.ConstValuesBegin (); it != sinr.ConstValuesEnd (); it++) { sum += (*it);