propagation: fix height assignment in 3gpp propagation loss model

This commit is contained in:
Karsten Heimann
2023-04-16 11:56:12 +02:00
committed by Tommaso Pecorella
parent 81584daca7
commit d10004d006

View File

@@ -1163,7 +1163,7 @@ ThreeGppUmiStreetCanyonPropagationLossModel::GetUtAndBsHeights(double za, double
// We cannot know who is the BS and who is the UT, we assume that the
// tallest node is the BS and the smallest is the UT
hBs = std::max(za, zb);
hUt = std::min(za, za);
hUt = std::min(za, zb);
}
return std::pair<double, double>(hUt, hBs);