Explorar o código

typo in the doc

Cédric Augonnet %!s(int64=17) %!d(string=hai) anos
pai
achega
375fc13473
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/starpu.texi

+ 1 - 1
doc/starpu.texi

@@ -537,7 +537,7 @@ void scal_func(starpu_data_interface_t *buffers, void *arg)
     float *val = (float *)buffers[0].vector.ptr;
 
     for (i = 0; i < n; i++)
-        val[0] *= *factor;
+        val[i] *= *factor;
 @}
 
 starpu_codelet cl = @{