Bug 990 - Error with an NS_ASSERT at uan-phy-gen.cc
Error with an NS_ASSERT at uan-phy-gen.cc
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: devices
ns-3-dev
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-02 11:57 EDT by Salva Climent
Modified: 2010-10-06 01:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salva Climent 2010-09-02 11:57:38 EDT
On uan-phy-gen.cc, inside the method

void UanPhyGen::TxEndEvent ()

there is an NS_ASSERT at line 509

NS_ASSERT (m_state = TX);

I'm not familiar with the code but maybe there should be an == instead of =
Comment 1 Quincy Tse 2010-10-05 21:13:50 EDT
Agree with change. It should also be noted that I do not know this code either - the recommendation is based only on the context of that line.
Comment 2 Tom Henderson 2010-10-06 01:50:58 EDT
changeset 14319edd3d2c