wifi: Reduce precision to fix infinite loop when Ideal rate manager as used with Yans error rate model
This commit is contained in:
committed by
Sebastien Deronne
parent
7969df7089
commit
46dbdf4911
@@ -42,7 +42,7 @@ ErrorRateModel::CalculateSnr (WifiTxVector txVector, double ber) const
|
||||
double low, high, precision;
|
||||
low = 1e-25;
|
||||
high = 1e25;
|
||||
precision = 1e-12;
|
||||
precision = 2e-12;
|
||||
while (high - low > precision)
|
||||
{
|
||||
NS_ASSERT (high >= low);
|
||||
|
||||
Reference in New Issue
Block a user