Squashed 'subtree/rabit/' changes from d558f6f..091634b

091634b fix

git-subtree-dir: subtree/rabit
git-subtree-split: 091634b259a52787b24912f4026be639b26a7653
This commit is contained in:
tqchen 2015-03-09 14:58:23 -07:00
parent 4c060df2f1
commit 13a319ca01

View File

@ -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 {