fix: better dimension management in edo/adaptive operators
This commit is contained in:
parent
23f6e68d34
commit
4110534122
5 changed files with 50 additions and 8 deletions
|
|
@ -90,7 +90,8 @@ public:
|
|||
* INITIALIZATION
|
||||
*********************************************************************/
|
||||
|
||||
unsigned int N = pop[0].size(); // FIXME expliciter la dimension du pb ?
|
||||
unsigned int N = this->distribution().size();
|
||||
assert(this->distribution().size() == pop[0].size());
|
||||
unsigned int lambda = pop.size();
|
||||
|
||||
// number of calls to the operator == number of generations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue