commit f5b25285dae51001e68adcdf87ec5afbbc9b574b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Sep 8 13:37:08 2019 +0200

    Accept flops being nan, since we do set them so when it is incoherent

diff --git a/src/core/perfmodel/perfmodel_history.c b/src/core/perfmodel/perfmodel_history.c
index e00ff32be..ef1f5a622 100644
--- a/src/core/perfmodel/perfmodel_history.c
+++ b/src/core/perfmodel/perfmodel_history.c
@@ -540,7 +540,7 @@ static void scan_history_entry(FILE *f, const char *path, struct starpu_perfmode
 
 	if (entry)
 	{
-		STARPU_ASSERT_MSG(flops >=0, "Negative flops %lf in performance model file %s", flops, path);
+		STARPU_ASSERT_MSG(isnan(flops) || flops >=0, "Negative flops %lf in performance model file %s", flops, path);
 		STARPU_ASSERT_MSG(mean >=0, "Negative mean %lf in performance model file %s", mean, path);
 		STARPU_ASSERT_MSG(deviation >=0, "Negative deviation %lf in performance model file %s", deviation, path);
 		STARPU_ASSERT_MSG(sum >=0, "Negative sum %lf in performance model file %s", sum, path);
