X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac54342a5ff79f3ff43212d03d1c8e993e212d52..1bf033cc925aa31693ef5163ea056fde5b75ff1e:/src/kernel/lmm/lagrange.cpp diff --git a/src/kernel/lmm/lagrange.cpp b/src/kernel/lmm/lagrange.cpp index f8afafdaa4..e7f71edf3b 100644 --- a/src/kernel/lmm/lagrange.cpp +++ b/src/kernel/lmm/lagrange.cpp @@ -8,6 +8,7 @@ * "ssh://username@scm.gforge.inria.fr/svn/memo/people/pvelho/lagrange/ppf.ps". */ #include "src/kernel/lmm/maxmin.hpp" +#include "src/surf/surf_interface.hpp" #include "xbt/log.h" #include "xbt/sysdep.h" @@ -142,7 +143,7 @@ void Lagrange::lagrange_solve() print(); } - if (not modified) + if (not modified_) return; /* Initialize lambda. */ @@ -402,6 +403,8 @@ double Lagrange::partial_diff_lambda(double lambda, const Constraint& cnst) /** \brief Attribute the value bound to var->bound. * + * \param func_f function (f) + * \param func_fp partial differential of f (f prime, (f')) * \param func_fpi inverse of the partial differential of f (f prime inverse, (f')^{-1}) * * Set default functions to the ones passed as parameters.