OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000901OMNeT++simulation kernelpublic2015-10-12 10:052016-03-16 10:28
Reporterammmar1988 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionwon't fix 
Platformx86_64OSGNU/LinuxOS Version?
Product Version4.6 
Target VersionFixed in Version5.0rc 
Summary0000901: Error: "Multiplying two quantities with units is not supported."
Description
In chapter 3.5 "Channels" of the OMNeT manual the following example datarate channel is given:

channel DatarateChannel2 extends ned.DatarateChannel
{
    double distance @unit(m);
    delay = this.distance / 200000km * 1s;
}

Actually using this example channel leads to an error:

"Multiplying two quantities with units is not supported."
Steps To ReproduceUse the mentioned example as channel in a simulation and run it.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001183)
andras (administrator)
2016-03-16 10:28

What you posted is the expected behaviour, i.e. this is actually a feature request. However, the cost of implementation would far outweigh the gain.

- Issue History
Date Modified Username Field Change
2015-10-12 10:05 ammmar1988 New Issue
2015-10-12 10:05 ammmar1988 Issue generated from: 0000849
2016-03-16 10:28 andras Note Added: 0001183
2016-03-16 10:28 andras Status new => resolved
2016-03-16 10:28 andras Fixed in Version => 5.0rc
2016-03-16 10:28 andras Resolution open => won't fix
2016-03-16 10:28 andras Assigned To => andras


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker