Browse Source

Add missing initialization

Samuel Thibault 11 years ago
parent
commit
44fe3ffea4
1 changed files with 1 additions and 0 deletions
  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 */
 			 * good-enough estimation */
 			STARPU_HG_DISABLE_CHECKING(entry->nsample);
 			STARPU_HG_DISABLE_CHECKING(entry->nsample);
 			STARPU_HG_DISABLE_CHECKING(entry->mean);
 			STARPU_HG_DISABLE_CHECKING(entry->mean);
+			entry->nerror = 0;
 		}
 		}
 
 
 		scan_history_entry(f, entry);
 		scan_history_entry(f, entry);