fix!(eoBit): defaults to char for scalar type

Since STL's vector of bool is not a vector of bool, `swap`ing bool elements in an eoBit can lead to errors.
Using `char` is a saner default.

Potential BREAKING CHANGE.
This commit is contained in:
Johann Dreo 2024-08-19 09:49:08 +02:00
commit 55b2f57d19
5 changed files with 9 additions and 9 deletions

View file

@ -56,7 +56,7 @@ int main() {
nkLandscapesEval<Solution> eval(N, K);
// init
eoUniformGenerator<bool> uGen;
eoUniformGenerator<char> uGen;
eoInitFixedLength<Solution> init(N, uGen);
// verif constructor