8000 Merge pull request #7679 from charris/fixup-c++-comment · numpy/numpy@0cccc79 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cccc79

Browse files
committed
Merge pull request #7679 from charris/fixup-c++-comment
MAINT: Fix up C++ comment in arraytypes.c.src.
2 parents a075c36 + 5a06624 commit 0cccc79

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

numpy/core/src/multiarray/arraytypes.c.src

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3763,12 +3763,13 @@ static void
37633763
}
37643764
}
37653765
else {
3766-
// Visual Studio 2015 loop vectorizer handles NaN in an unexpected manner, see:
3767-
// https://github.com/numpy/numpy/issues/7601
3768-
// https://connect.microsoft.com/VisualStudio/feedback/details/2723801/unexpected-nan-handling-in-vectorized-loop
3769-
#if (_MSC_VER == 1900)
3770-
#pragma loop( no_vector )
3771-
#endif
3766+
/*
3767+
* Visual Studio 2015 loop vectorizer handles NaN in an unexpected
3768+
* manner, see: https://github.com/numpy/numpy/issues/7601
3769+
*/
3770+
#if (_MSC_VER == 1900)
3771+
#pragma loop( no_vector )
3772+
#endif
37723773
for (i = 0; i < ni; i++) {
37733774
if (@lt@(in[i], min_val)) {
37743775
out[i] = min_val;

0 commit comments

Comments
 (0)
0