A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to help sonar.
[simgrid.git]
/
src
/
surf
/
ptask_L07.cpp
diff --git
a/src/surf/ptask_L07.cpp
b/src/surf/ptask_L07.cpp
index
f49ad5e
..
8cea923
100644
(file)
--- a/
src/surf/ptask_L07.cpp
+++ b/
src/surf/ptask_L07.cpp
@@
-258,7
+258,7
@@
kernel::resource::Action* CpuL07::execution_start(double size)
{
std::vector<s4u::Host*> host_list = {get_host()};
- double* flops_amount = new double[
1
]();
+ double* flops_amount = new double[
host_list.size()
]();
flops_amount[0] = size;
kernel::resource::Action* res =