cleaner debug code for uniform bounder
This commit is contained in:
parent
e6b1c63fde
commit
d002dccadf
1 changed files with 6 additions and 0 deletions
|
|
@ -49,6 +49,10 @@ public:
|
|||
assert( this->max().size() > 0 );
|
||||
|
||||
assert( sol.size() > 0);
|
||||
assert( sol.size() == this->min().size() );
|
||||
|
||||
eo::log << eo::debug << "BounderUniform: from sol = " << sol;
|
||||
eo::log.flush();
|
||||
|
||||
unsigned int size = sol.size();
|
||||
for (unsigned int d = 0; d < size; ++d) {
|
||||
|
|
@ -58,6 +62,8 @@ public:
|
|||
sol[d] = rng.uniform( this->min()[d], this->max()[d] );
|
||||
}
|
||||
} // for d in size
|
||||
|
||||
eo::log << eo::debug << "\tto sol = " << sol << std::endl;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue