Current implementation of openmp_range_algebra uses unsigned type (size_t) as index in for loops that are parallelized by OpenMP. This is not supported by MSVC. Additionally, as MSVC is still stuck with OpenMP 2.0 support, the OpenMP reduction syntax used by norm_inf also does not compile. The following patch fixes the issue; at least for MSVC 14.
Current implementation of openmp_range_algebra uses unsigned type (
size_t
) as index in for loops that are parallelized by OpenMP. This is not supported by MSVC. Additionally, as MSVC is still stuck with OpenMP 2.0 support, the OpenMP reduction syntax used bynorm_inf
also does not compile. The following patch fixes the issue; at least for MSVC 14.