fixed typos in functions
This commit is contained in:
parent
cce5e02ed9
commit
576782a870
|
@ -144,7 +144,7 @@ int skomb4(int number, int *not_allowed, int *not_allowed_len, quartet *quartets
|
|||
int i, j, k;
|
||||
int skip, len;
|
||||
k = 0;
|
||||
trio *trios = malloc(sizeof(pair) * 8);
|
||||
trio *trios = malloc(sizeof(trio) * 8);
|
||||
for (i = 1; i < 10; i++){
|
||||
for (j = 0; j < *not_allowed_len; j++){
|
||||
if (i == not_allowed[j]){
|
||||
|
@ -183,7 +183,7 @@ int skomb5(int number, int *not_allowed, int* not_allowed_len, quintet *quintets
|
|||
int i, j, k;
|
||||
int skip, len;
|
||||
k = 0;
|
||||
quartet *quartets = malloc(sizeof(pair) * 12);
|
||||
quartet *quartets = malloc(sizeof(quartet) * 12);
|
||||
for (i = 1; i < 10; i++){
|
||||
for (j = 0; j < *not_allowed_len; j++){
|
||||
if (i == not_allowed[j]){
|
||||
|
|
Loading…
Reference in New Issue