fix bug with openmp
2 files changed