Selaa lähdekoodia

Do not plot the linear regression if a non-linear regression is available

Samuel Thibault 13 vuotta sitten
vanhempi
commit
56830a34e7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tools/starpu_perfmodel_plot.c

+ 1 - 1
tools/starpu_perfmodel_plot.c

@@ -162,7 +162,7 @@ static void display_perf_model(FILE *gnuplot_file, struct starpu_perfmodel_t *mo
 #endif
 
 	/* Only display the regression model if we could actually build a model */
-	if (arch_model->regression.valid)
+	if (arch_model->regression.valid && !arch_model->regression.nl_valid)
 	{
 		print_comma(gnuplot_file, first);