Skip to content

Commit

Permalink
fix a bug #10
Browse files Browse the repository at this point in the history
  • Loading branch information
cciis2013 committed Dec 17, 2014
1 parent e27b3f2 commit 00cbea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/org/workflowsim/WorkflowDatacenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ private double calculateDataTransferDelay(File file, int userId, int vmId, Vm vm
}
}
if (requiredFileStagein && maxBwth > 0.0) {
time = file.getSize() / Consts.MILLION * 8 / maxBwth;
time = file.getSize() / (double) Consts.MILLION * 8 / maxBwth;
}
return time;
}
Expand Down

0 comments on commit 00cbea7

Please sign in to comment.