From 465c7f1709148b77f1bcdcb8e1422a5291eac2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Deltheil?= Date: Sat, 6 Jun 2015 19:19:17 +0200 Subject: [PATCH] SparseLinear.c: fix missing OpenMP include --- generic/SparseLinear.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generic/SparseLinear.c b/generic/SparseLinear.c index ad26641df..fa68de1ea 100644 --- a/generic/SparseLinear.c +++ b/generic/SparseLinear.c @@ -2,6 +2,10 @@ #define TH_GENERIC_FILE "generic/SparseLinear.c" #else +#ifdef _OPENMP +#include +#endif + static int nn_(checkInput)(THTensor* t) { return t->nDimension == 2 && t->size[1] == 2; }