Skip to content

Commit d64c3d8

Browse files
author
cciis2013
committed
fix a bug #10
1 parent ce10f80 commit d64c3d8

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
@@ -348,7 +348,7 @@ protected double processDataStageIn(List<File> requiredFiles, Cloudlet cl) throw
348348
}
349349
}
350350
if (requiredFileStagein && maxBwth > 0.0) {
351-
time += file.getSize() / Consts.MILLION * 8 / maxBwth;
351+
time += file.getSize() / (double) Consts.MILLION * 8 / maxBwth;
352352
}
353353

354354
/**

0 commit comments

Comments
 (0)