first lut function, suite
This commit is contained in:
@@ -20,11 +20,11 @@ for(count=0; count<1024; count++) {
|
||||
foo = fscanf(fp, "%f", &where->vals[foo]);
|
||||
if (1 != foo) {
|
||||
fprintf(stderr, "%s: bad read %d\n", __func__, foo);
|
||||
return -2;
|
||||
return -4;
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
@@ -60,6 +60,7 @@ if (foo) {
|
||||
exit(5);
|
||||
}
|
||||
|
||||
foo = slurp_lut1024f(fplut, where, 0);
|
||||
|
||||
fclose(fplut);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user