Browse Source

typo in the doc

Cédric Augonnet 16 years ago
parent
commit
375fc13473
1 changed files with 1 additions and 1 deletions
  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 = @{