Explorar el Código

Add missing initialization

Samuel Thibault hace 12 años
padre
commit
44fe3ffea4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/core/perfmodel/perfmodel_history.c

+ 1 - 0
src/core/perfmodel/perfmodel_history.c

@@ -262,6 +262,7 @@ static void parse_per_arch_model_file(FILE *f, struct starpu_perfmodel_per_arch
 			 * good-enough estimation */
 			STARPU_HG_DISABLE_CHECKING(entry->nsample);
 			STARPU_HG_DISABLE_CHECKING(entry->mean);
+			entry->nerror = 0;
 		}
 
 		scan_history_entry(f, entry);