From 9038b849b4cb3cda62a37077d796341ee6f6a28b Mon Sep 17 00:00:00 2001 From: liaogang Date: Mon, 14 Aug 2017 11:10:04 +0800 Subject: [PATCH] Fix macro !defined(PADDLE_ONLY_CPU) --- paddle/framework/lod_tensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/framework/lod_tensor.h b/paddle/framework/lod_tensor.h index 0290ec09b4..9e27aec38d 100644 --- a/paddle/framework/lod_tensor.h +++ b/paddle/framework/lod_tensor.h @@ -15,7 +15,7 @@ #pragma once #include -#if (!PADDLE_ONLY_CPU) +#if !defined(PADDLE_ONLY_CPU) #include #include #endif -- GitLab