Skip to content

Commit f6bf634

Browse files
committed
Fix a wrong function error
1 parent 26716dd commit f6bf634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/utils/CpuId.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ inline Error __must_check checkCPUFeature() {
113113
}
114114
#else
115115
if (!HAS_AVX) {
116-
err = Errors(
116+
err = Error(
117117
"PaddlePaddle was compiled to use avx instructions, "
118118
"but these aren't available on your machine, please "
119119
"disable it via CMAKE .. -DWITH_AVX=OFF");

0 commit comments

Comments
 (0)