From f6bf6347b16f15e6d6d21e12fece162d1aac88e8 Mon Sep 17 00:00:00 2001 From: liaogang Date: Tue, 21 Mar 2017 16:35:30 +0800 Subject: [PATCH] Fix a wrong function error --- paddle/utils/CpuId.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/utils/CpuId.h b/paddle/utils/CpuId.h index d16098b5f90..5fc610964d4 100644 --- a/paddle/utils/CpuId.h +++ b/paddle/utils/CpuId.h @@ -113,7 +113,7 @@ inline Error __must_check checkCPUFeature() { } #else if (!HAS_AVX) { - err = Errors( + err = Error( "PaddlePaddle was compiled to use avx instructions, " "but these aren't available on your machine, please " "disable it via CMAKE .. -DWITH_AVX=OFF"); -- GitLab