useless assert
This commit is contained in:
parent
5c7f3835f2
commit
ea17fb07ad
1 changed files with 5 additions and 2 deletions
|
|
@ -58,12 +58,15 @@ public:
|
|||
|
||||
// Sampling all dimensions
|
||||
for (unsigned int i = 0; i < size; ++i)
|
||||
{
|
||||
{
|
||||
double min = distrib.min()[i];
|
||||
double max = distrib.max()[i];
|
||||
double random = rng.uniform(min, max);
|
||||
|
||||
assert( min < random && random < max);
|
||||
|
||||
solution.push_back(random);
|
||||
}
|
||||
}
|
||||
|
||||
return solution;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue