diff --git a/guide/README.md b/guide/README.md index 205537065..2e8f1d68c 100644 --- a/guide/README.md +++ b/guide/README.md @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) { // at this point, the model object should allow us to recover the program state ... // each iteration can contain multiple calls of allreduce/broadcast - rabit::Allreduce(&data[0], n); + rabit::Allreduce(&data[0], n); ... // checkpoint model after one iteration finishes rabit::CheckPoint(&model); diff --git a/guide/basic.py b/guide/basic.py index d6817855c..800d1cb80 100755 --- a/guide/basic.py +++ b/guide/basic.py @@ -21,4 +21,3 @@ print '@node[%d] before-allreduce: a=%s' % (rank, str(a)) a = rabit.allreduce(a, rabit.MAX) print '@node[%d] after-allreduce: a=%s' % (rank, str(a)) rabit.finalize() - diff --git a/guide/broadcast.py b/guide/broadcast.py index b657efd90..defe69eaa 100755 --- a/guide/broadcast.py +++ b/guide/broadcast.py @@ -20,4 +20,3 @@ s = rabit.broadcast(s, 0) print '@node[%d] after-broadcast: s=\"%s\"' % (rank, str(s)) rabit.finalize() -