Skip to content

Commit ba9a85f

Browse files
committed
fix bug introduced in pytorch#952
1 parent 0714d7a commit ba9a85f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic/THTensorMath.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef TH_GENERIC_FILE
22
#define TH_GENERIC_FILE "generic/THTensorMath.c"
33
#else
4-
4+
55
#ifdef _OPENMP
66
#include <omp.h>
77
#endif
@@ -11,7 +11,7 @@
1111
#ifdef _OPENMP
1212

1313
#ifndef _WIN32
14-
#define PRAGMA(P) _Pragma("P")
14+
#define PRAGMA(P) _Pragma(#P)
1515
#else
1616
#define PRAGMA(P) __pragma(P)
1717
#endif

0 commit comments

Comments
 (0)