Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
poor damage control for tonight only
[simgrid.git] / src / simix / popping.cpp
index 7d94291..70d34c7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -16,11 +16,11 @@ void SIMIX_simcall_answer(smx_simcall_t simcall)
     simcall->issuer->simcall.call = SIMCALL_NONE;
 #if 0
     /* This check should be useless and slows everyone. Reactivate if you see something weird in process scheduling. */
-    if (std::find(begin(simix_global->process_to_run), end(simix_global->process_to_run), simcall->issuer) !=
-        end(simix_global->process_to_run))
+    if (std::find(begin(simix_global->actors_to_run), end(simix_global->actors_to_run), simcall->issuer) !=
+        end(simix_global->actors_to_run))
       DIE_IMPOSSIBLE;
 #endif
-    simix_global->process_to_run.push_back(simcall->issuer);
+    simix_global->actors_to_run.push_back(simcall->issuer);
   }
 }