From 634648c2ecbc7d9332c00f7fdd8b81eae93dd78e Mon Sep 17 00:00:00 2001 From: Liu Yiqun Date: Wed, 10 May 2017 13:03:03 +0800 Subject: [PATCH] Remove the extra return statement. --- Dockerfile.android | 2 +- paddle/math/MathFunctions.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.android b/Dockerfile.android index 9df291250dc..4d9ced33f43 100644 --- a/Dockerfile.android +++ b/Dockerfile.android @@ -40,4 +40,4 @@ RUN mkdir /opt/android-ndk-tmp && \ ${ANDROID_NDK_HOME}/build/tools/make-standalone-toolchain.sh --arch=arm --platform=android-21 --install-dir=${ANDROID_STANDALONE_TOOLCHAIN} && \ rm -rf /opt/android-ndk-tmp -CMD ["bash", "paddle/paddle/scripts/docker/build_android.sh"] +CMD ["bash", "/paddle/paddle/scripts/docker/build_android.sh"] diff --git a/paddle/math/MathFunctions.cpp b/paddle/math/MathFunctions.cpp index 1a3bb432bfb..7045562dd44 100644 --- a/paddle/math/MathFunctions.cpp +++ b/paddle/math/MathFunctions.cpp @@ -180,7 +180,6 @@ int getri(const CBLAS_ORDER order, const int lda, const int* ipiv) { return dynload::PADDLE_DGETRI(order, N, A, lda, ipiv); - return 0; } template <> -- GitLab