Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] bugfix
authorschnorr <Lucas.Schnorr@imag.fr>
Thu, 5 Apr 2012 14:55:33 +0000 (16:55 +0200)
committerschnorr <Lucas.Schnorr@imag.fr>
Thu, 5 Apr 2012 14:55:33 +0000 (16:55 +0200)
src/instr/instr_interface.c

index 3d582d8..caa55d9 100644 (file)
@@ -240,7 +240,7 @@ static void instr_user_variable(double time,
   if (!TRACE_needs_platform()) return;
 
   //check if variable is already declared
-  char *created = xbt_dict_get_or_null(declared_marks, variable);
+  char *created = xbt_dict_get_or_null(filter, variable);
   if (what == INSTR_US_DECLARE){
     if (created){
       //already declared