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
Remove useless parentheses.
[simgrid.git]
/
teshsuite
/
surf
/
lmm_usage
/
lmm_usage.cpp
diff --git
a/teshsuite/surf/lmm_usage/lmm_usage.cpp
b/teshsuite/surf/lmm_usage/lmm_usage.cpp
index
c66a43c
..
49e4073
100644
(file)
--- a/
teshsuite/surf/lmm_usage/lmm_usage.cpp
+++ b/
teshsuite/surf/lmm_usage/lmm_usage.cpp
@@
-48,11
+48,11
@@
static double dichotomy(double func(double), double min, double max, double min_
double min_func = func(min);
double max_func = func(max);
double min_func = func(min);
double max_func = func(max);
- if (
(min_func > 0 && max_func > 0)
)
+ if (
min_func > 0 && max_func > 0
)
return min - 1.0;
return min - 1.0;
- if (
(min_func < 0 && max_func < 0)
)
+ if (
min_func < 0 && max_func < 0
)
return max + 1.0;
return max + 1.0;
- if (
(min_func > 0 && max_func < 0)
)
+ if (
min_func > 0 && max_func < 0
)
abort();
SHOW_EXPR(min_error);
abort();
SHOW_EXPR(min_error);