Skip to content

Commit 00cbea7

Browse files
author
cciis2013
committed
fix a bug #10
1 parent e27b3f2 commit 00cbea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sources/org/workflowsim/WorkflowDatacenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ private double calculateDataTransferDelay(File file, int userId, int vmId, Vm vm
429429
}
430430
}
431431
if (requiredFileStagein && maxBwth > 0.0) {
432-
time = file.getSize() / Consts.MILLION * 8 / maxBwth;
432+
time = file.getSize() / (double) Consts.MILLION * 8 / maxBwth;
433433
}
434434
return time;
435435
}

0 commit comments

Comments
 (0)