瀏覽代碼

Fix inversion...

Samuel Thibault 9 年之前
父節點
當前提交
692cab9d17
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/core/simgrid.c

+ 2 - 2
src/core/simgrid.c

@@ -349,9 +349,9 @@ void _starpu_simgrid_submit_job(int workerid, struct _starpu_job *j, struct star
 
 	simgrid_task = MSG_task_create(_starpu_job_get_task_name(j),
 #ifdef HAVE_MSG_HOST_GET_SPEED
-			length/1000000.0*MSG_get_host_speed(MSG_host_self()),
-#else
 			length/1000000.0*MSG_host_get_speed(MSG_host_self()),
+#else
+			length/1000000.0*MSG_get_host_speed(MSG_host_self()),
 #endif
 			0, NULL);