This commit is contained in:
tqchen 2015-03-09 14:56:01 -07:00
parent d558f6f550
commit 091634b259

View File

@ -65,7 +65,7 @@ class AllreduceBase : public IEngine {
} }
/*! \brief whether is distributed or not */ /*! \brief whether is distributed or not */
virtual bool IsDistributed(void) const { virtual bool IsDistributed(void) const {
return tracker_uri == "NULL"; return tracker_uri != "NULL";
} }
/*! \brief get rank */ /*! \brief get rank */
virtual std::string GetHost(void) const { virtual std::string GetHost(void) const {