Bug 2093 - MultiModelSpectrumChannel::GetDevice only works for 0-th index
MultiModelSpectrumChannel::GetDevice only works for 0-th index
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: spectrum
ns-3-dev
All All
: P5 normal
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-09 16:01 UTC by Tommaso Pecorella
Modified: 2015-04-09 16:04 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 Tommaso Pecorella 2015-04-09 16:01:58 UTC
The element number is not increased in the loop...

Found by Xiaowen Wang and reported here:
https://groups.google.com/forum/#!topic/ns-3-users/mDrboi0QQCQ
Comment 1 Tommaso Pecorella 2015-04-09 16:04:59 UTC
pushed the obvious fix in changeset:   11290:38d21ad21f47