Bug 1364 - Typo in trace-value.h
Typo in trace-value.h
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
ns-3.13
All All
: P5 critical
Assigned To: Mathieu Lacage
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-21 05:55 UTC by Salva Climent
Modified: 2012-02-21 09:11 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-21 05:55:19 UTC
If I'm not mistaken this is a very severe bug.

In trace-value.h line 377, the operation *x is defined but a subtraction is done:
return TracedValue<T> (lhs - rhs.Get ());

It should be:
return TracedValue<T> (lhs * rhs.Get ());
Comment 1 Mathieu Lacage 2012-02-21 09:11:44 UTC
changeset: 67b5ca303a81

thanks!