Bug 2510 - WaveHelper::AssignStreams is crashed
WaveHelper::AssignStreams is crashed
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wave module
unspecified
PC Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-23 21:12 UTC by Junling Bu
Modified: 2016-09-28 00:08 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 Junling Bu 2016-09-23 21:12:02 UTC
In the method WaveHelper::AssignStreams, there is a wrong at the line 424, which should be "++J" instead of current "++i"

   424           for (std::vector<Ptr<WifiPhy> >::iterator j = phys.begin (); j != phys.end (); ++i)
   425             {
   426               currentStream += (*j)->AssignStreams (currentStream);
   427             }
Comment 1 Tom Henderson 2016-09-28 00:08:39 UTC
fixed in changeset 12350:f7a4f17f4abb