Fix build without OpenMP (nw)

This commit is contained in:
balr0g 2015-06-27 13:14:14 -04:00
parent 6987c0594e
commit 707bdb5f2c

View File

@ -35,7 +35,9 @@ inline void vec_set (const std::size_t n, const double &scalar, double * RESTRIC
for ( std::size_t i = 0; i < n; i++ )
result[i] = scalar;
}
#if HAS_OPENMP
#include "omp.h"
#endif
inline double vecmult (const std::size_t n, const double * RESTRICT a1, const double * RESTRICT a2 )
{