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
Share precision value with other modules.
[simgrid.git]
/
src
/
surf
/
lagrange.c
diff --git
a/src/surf/lagrange.c
b/src/surf/lagrange.c
index
02b2bae
..
008c210
100644
(file)
--- a/
src/surf/lagrange.c
+++ b/
src/surf/lagrange.c
@@
-96,7
+96,7
@@
void lagrange_solve(lmm_system_t sys)
* Lagrange Variables.
*/
int max_iterations = 100;
* Lagrange Variables.
*/
int max_iterations = 100;
- double epsilon_min_error =
1e-6
;
+ double epsilon_min_error =
MAXMIN_PRECISION
;
double dichotomy_min_error = 1e-20;
double overall_error = 1;
double dichotomy_min_error = 1e-20;
double overall_error = 1;
@@
-457,7
+457,7
@@
double diff_aux(lmm_variable_t var, double x)
double tmp_fpi, result;
XBT_IN2("(var (%p), x (%1.20f))", var, x);
double tmp_fpi, result;
XBT_IN2("(var (%p), x (%1.20f))", var, x);
- xbt_assert0(var->func_fp,
+ xbt_assert0(var->func_fp
i
,
"Initialize the protocol functions first create variables before.");
tmp_fpi = var->func_fpi(var, x);
"Initialize the protocol functions first create variables before.");
tmp_fpi = var->func_fpi(var, x);