diff options
author | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-03-20 21:12:19 +0400 |
---|---|---|
committer | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-03-20 21:12:19 +0400 |
commit | 80796af3c30ad7218b5f0516333a338a0f4acf24 (patch) | |
tree | 869aeb503f256348e4ce6d53d93125edbd8baf12 /mira | |
parent | f88f74c4e69dbc97c671c04a000aa5b7563b5778 (diff) |
fix small bug in multi-fold training
Diffstat (limited to 'mira')
-rw-r--r-- | mira/Main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mira/Main.cpp b/mira/Main.cpp index 207c4cdd7..76a9b7ab9 100644 --- a/mira/Main.cpp +++ b/mira/Main.cpp @@ -501,7 +501,8 @@ int main(int argc, char** argv) { } #ifdef MPI_ENABLE - mpi::broadcast(world, order, 0); + if (!trainWithMultipleFolds) + mpi::broadcast(world, order, 0); #endif // Create shards according to the number of processes used |