From 091634b259a52787b24912f4026be639b26a7653 Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 9 Mar 2015 14:56:01 -0700 Subject: [PATCH] fix --- src/allreduce_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allreduce_base.h b/src/allreduce_base.h index 41b9f35f2..2d75da684 100644 --- a/src/allreduce_base.h +++ b/src/allreduce_base.h @@ -65,7 +65,7 @@ class AllreduceBase : public IEngine { } /*! \brief whether is distributed or not */ virtual bool IsDistributed(void) const { - return tracker_uri == "NULL"; + return tracker_uri != "NULL"; } /*! \brief get rank */ virtual std::string GetHost(void) const {