[Paradiseo-help] Potential bug found

Jacky Lee jackyleehongjian at gmail.com
Mar 19 Mar 02:45:30 CET 2013


Hi ParadisEO 2.0 developers,
  I guess I  happen to find a bug at line 209 of
ParadisEO/eo/src/es/CMAParams.cpp:
*    ccumsig *= (mueff + 2.) / (n + mueff + 3.);*
*  *The *ccumsig* variable is uninitialized, and thus the use of
**=*operator is inappropriate. Comparing to line 140, I think line 209
should
be changed to
*    ccumsig = (mueff + 2.) / (n + mueff + 3.);*
*
*
-- 
Best regards,
Jacky Lee
Department of Computer Science and Engineering
Chinese University of Hong Kong
http://www.cse.cuhk.edu.hk/~hjli
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.gforge.inria.fr/pipermail/paradiseo-help/attachments/20130319/e0f746cf/attachment.html>


Plus d'informations sur la liste de diffusion Paradiseo-help