Warning removed
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1630 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
012c5cf5d3
commit
ca19a9bfc7
1 changed files with 10 additions and 10 deletions
|
|
@ -126,12 +126,12 @@ class moeoObjectiveVectorNormalizer
|
||||||
std::vector<Type> coefs;
|
std::vector<Type> coefs;
|
||||||
if(!max_param){
|
if(!max_param){
|
||||||
// std::cout<<"ampmax="<<amp_max;
|
// std::cout<<"ampmax="<<amp_max;
|
||||||
if(amps[i]==0) std::cout<<"scale erronée"<<std::endl;
|
// if(amps[i]==0) std::cerr<<"scale erronée"<<std::endl;
|
||||||
coefs.push_back(amps[i]==0?1:amp_max/amps[i]);
|
coefs.push_back(amps[i]==0?1:amp_max/amps[i]);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
// std::cout<<"maxparam="<<max_param;
|
// std::cout<<"maxparam="<<max_param;
|
||||||
if(amps[i]==0) std::cout<<"scale erronée"<<std::endl;
|
// if(amps[i]==0) std::cerr<<"scale erronée"<<std::endl;
|
||||||
coefs.push_back(amps[i]==0?1:max_param/amps[i]);
|
coefs.push_back(amps[i]==0?1:max_param/amps[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue