瀏覽代碼

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

Samuel Thibault 13 年之前
父節點
當前提交
56830a34e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);