소스 검색

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);