X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c632e6d9666d84954ec453ec95ec8ec38ad58a40..fb81c8bcd9bf351c3a575908adfa783b0b375e10:/src/instr/instr_interface.cpp?ds=sidebyside diff --git a/src/instr/instr_interface.cpp b/src/instr/instr_interface.cpp index 2952e59df1..d1881f7516 100644 --- a/src/instr/instr_interface.cpp +++ b/src/instr/instr_interface.cpp @@ -284,6 +284,7 @@ static void instr_user_variable(double time, const char *resource, const char *v }else{ if (created) { // declared, let's work char valuestr[100]; + s_subVariable n; snprintf(valuestr, 100, "%g", value); container_t container = PJ_container_get(resource); type_t type = PJ_type_get (variable, container->type); @@ -295,7 +296,7 @@ static void instr_user_variable(double time, const char *resource, const char *v new_pajeAddVariable(time, container, type, value); break; case INSTR_US_SUB: - new_pajeSubVariable(time, container, type, value); + n.new_pajeSubVariable(time, container, type, value); break; default: THROW_IMPOSSIBLE;