From 5e1220ef3711d321fe389ba0c780dff38f32b45a Mon Sep 17 00:00:00 2001 From: Physher <50398879+Minghui-Intel@users.noreply.github.com> Date: Wed, 10 Jul 2019 00:32:56 +0800 Subject: [PATCH] fix compile error which caused by gcc4.8 related commit;test=develop (#18567) --- paddle/fluid/operators/mul_op.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/mul_op.cc b/paddle/fluid/operators/mul_op.cc index 381f7c1e98..ebb88fe282 100644 --- a/paddle/fluid/operators/mul_op.cc +++ b/paddle/fluid/operators/mul_op.cc @@ -93,8 +93,8 @@ class MulOp : public framework::OperatorWithKernel { library = framework::LibraryType::kMKLDNN; layout = framework::DataLayout::kMKLDNN; - if (input_data_type == framework::DataTypeTrait::DataType || - input_data_type == framework::DataTypeTrait::DataType) { + if (input_data_type == framework::DataTypeTrait::DataType() || + input_data_type == framework::DataTypeTrait::DataType()) { customized_type_value = kMULMKLDNNINT8; } } -- GitLab