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
Fixup the is_first semantic (does not change anything, but you're first the first...
[simgrid.git]
/
src
/
surf
/
workstation_KCCFLN05.c
diff --git
a/src/surf/workstation_KCCFLN05.c
b/src/surf/workstation_KCCFLN05.c
index
a160669
..
729f3e4
100644
(file)
--- a/
src/surf/workstation_KCCFLN05.c
+++ b/
src/surf/workstation_KCCFLN05.c
@@
-1120,14
+1120,14
@@
static double impact_on_src;
static double impact_on_dst;
static double impact_on_src_with_other_recv;
static double impact_on_dst_with_other_send;
static double impact_on_dst;
static double impact_on_src_with_other_recv;
static double impact_on_dst_with_other_send;
-static int is_first =
0
;
+static int is_first =
1
;
static void parse_route_set_endpoints(void)
{
cpu_KCCFLN05_t cpu_tmp = NULL;
static void parse_route_set_endpoints(void)
{
cpu_KCCFLN05_t cpu_tmp = NULL;
- if (
!
is_first) create_routing_table();
- is_first =
1;
+ if (is_first) create_routing_table();
+ is_first =
0;
cpu_tmp = (cpu_KCCFLN05_t) name_service(A_surfxml_route_src);
if (cpu_tmp != NULL) {
cpu_tmp = (cpu_KCCFLN05_t) name_service(A_surfxml_route_src);
if (cpu_tmp != NULL) {