diff --git a/build/ag_gen b/build/ag_gen index 8fc8bf1..22e69ba 100755 Binary files a/build/ag_gen and b/build/ag_gen differ diff --git a/src/ag_gen/ag_gen.cpp b/src/ag_gen/ag_gen.cpp index 5f4efbb..455abc3 100755 --- a/src/ag_gen/ag_gen.cpp +++ b/src/ag_gen/ag_gen.cpp @@ -508,8 +508,8 @@ AGGenInstance &AGGen::generate(bool batch_process, int batch_size, int numThrd, One, need to listen for Updates to instances.facts MPI TAGS: Tag 2 = Task 2 is done - Tag 3 = New fact - Tag 4 = Hash New State + Tag 3 = New state + Tag 4 = New fact Tag 5 = Critical New State */ //If we haven't been told that task 2 is finished, and if we still more facts or states to update: @@ -535,8 +535,8 @@ AGGenInstance &AGGen::generate(bool batch_process, int batch_size, int numThrd, NetworkState new_state; Quality fact; - world.recv(mpi::any_source, 3, fact); - world.recv(mpi::any_source, 4, new_state); + world.recv(mpi::any_source, 3, new_state); + world.recv(mpi::any_source, 4, fact); instance.facts.hash_table[new_state.compound_assign(fact)]=instance.facts.size(); instance.facts.length++;