Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Wrong Parameter in Call #63

Open
GoogleCodeExporter opened this issue Mar 1, 2016 · 1 comment
Open

[BUG] Wrong Parameter in Call #63

GoogleCodeExporter opened this issue Mar 1, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
There is not a real problem at the moment. I use CloudSim since 07/04/2014.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
cloudSim-3.0

Please provide any additional information below.

In file Datacenter.java at the line code number 389,400,656,678,827,862,888 is 
called a method on host class:

.getVm(userId, vmId)

but the method in the file Host.java is defined as:

public Vm getVm(int vmId, int userId)

in the call userId e vmId are inverted.
I don't know if it's my mistake (I am a newbie on cloudSim) or the call 
parameters are wrong.

Claudio Badii

Original issue reported on code.google.com by clo.ba...@gmail.com on 9 Apr 2014 at 10:31

@GoogleCodeExporter
Copy link
Author

Sorry, I see the changelog of version 3.0.1 and this issue is the:

Fixed Issue #34: Call getVm(vmId, userId) Function had swaped parameters in 
several parts of the Datacenter class.

Original comment by clo.ba...@gmail.com on 9 Apr 2014 at 1:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant