Commit 992e5915 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

arradd: use omp parallel for

parent 24547c5b
......@@ -65,7 +65,7 @@ void arradd(const size_t n, double * restrict a, const double * restrict b)
#else
#if defined(_OPENMP)
//#pragma omp parallel for default(none) shared(a,b)
#pragma omp parallel for default(none) shared(a,b)
#endif
for ( size_t i = 0; i < n; i++ ) a[i] += b[i];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment