fix per-thread array creation
use omp_get_max_threads outside parallel environment, not omp_get_num_threads (which is 1).
Please register or sign in to comment
use omp_get_max_threads outside parallel environment, not omp_get_num_threads (which is 1).