]> git.somenet.org - pub/jan/parprog.git/blob - prefix/seq.c
fix filenames
[pub/jan/parprog.git] / prefix / seq.c
1
2 #include "seq.h"
3 /**
4  * Sequential algorithm to compute correct values.
5  */
6 void algorithm (numtype in[], unsigned long size, unsigned int ops[]) {
7         for (unsigned long i = 1; i <= size; i++){
8                 in[i] = in[(i-1)] + in[i];
9         }
10 }