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

/**
Expand Down

0 comments on commit d64c3d8

Please sign in to comment.