EdGarrity / SOS

Search for an Optimum Solution
1 stars 0 forks source link

Compiler Error for 200,000 Individuals #134

Closed EdGarrity closed 3 years ago

EdGarrity commented 3 years ago

Complier generates this error when compiling with population_size set to 200,000; C2148 total size of array must not exceed 0x7fffffff bytes

EdGarrity commented 3 years ago

See https://stackoverflow.com/questions/42173040/error-total-size-of-array-must-not-exceed-0x7fffffff-bytes as a possible solution for implementing large arrays in Microsoft VC++.

EdGarrity commented 3 years ago

Moved error_matrix to global std::array.

EdGarrity commented 3 years ago

Compiled but hung. See issue Make error_matrix Thread Safe #135.