Bug 1376 - Bug in uan-noise-model-default.cc
Bug in uan-noise-model-default.cc
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: uan
ns-3.13
All All
: P5 normal
Assigned To: Andrea Sacco
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-23 04:06 UTC by Salva Climent
Modified: 2012-02-23 11:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salva Climent 2012-02-23 04:06:33 UTC
Line 70:

win = pow (10.0, m_wind * 0.1);

should be:

win = pow (10.0, wind * 0.1);

According to: Modeling the underwater acoustic channel in ns2
Comment 1 Andrea Sacco 2012-02-23 11:21:23 UTC
Thank you Salva for the notification, I've fixed the bug and changed the names of the variables to make them more appropriate.

changeset 7737 0f35472c9d4d