Mercurial > hg > Gears > GearsAgda
diff src/parallel_execution/twice.cbc @ 278:23767f714f4a
fix generate_stub
author | mir3636 |
---|---|
date | Thu, 02 Feb 2017 20:27:56 +0900 |
parents | 9d671e63df74 |
children | a3448b0f0a56 |
line wrap: on
line diff
--- a/src/parallel_execution/twice.cbc Thu Feb 02 18:29:50 2017 +0900 +++ b/src/parallel_execution/twice.cbc Thu Feb 02 20:27:56 2017 +0900 @@ -1,9 +1,8 @@ #include <stdio.h> -#include "context.h" -#include "origin_cs.h" +#include "../context.h" -__code twice(struct Context* context, struct LoopCounter* loopCounter, int index, int prefix, int* array, struct Context* workerContext) { +__code twice(struct LoopCounter* loopCounter, int index, int prefix, int* array, struct Context* workerContext) { int i = loopCounter->i; if (i < prefix) { array[i+index*prefix] = array[i+index*prefix]*2;