reorganized files
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
/* This program compares the lina_transpose
|
/* This program compares the lina_transpose
|
||||||
** implementation against the naive implementation.
|
** implementation against the naive implementation.
|
||||||
|
** Build it with:
|
||||||
|
** $ gcc time.c lina.c -o time -Wall -Wextra -O3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define check assert
|
#define check assert
|
||||||
@@ -1,3 +1,2 @@
|
|||||||
gcc test.c lina.c -o test -Wall -Wextra -g
|
gcc tests/test.c src/lina.c -o test -Wall -Wextra -g -Isrc/
|
||||||
gcc test2.c lina.c -o test2 -Wall -Wextra -g
|
gcc tests/test2.c src/lina.c -o test2 -Wall -Wextra -g -Isrc/
|
||||||
gcc time.c lina.c -o time -Wall -Wextra -O3
|
|
||||||
|
|||||||
+1
-1
@@ -191,7 +191,7 @@ static int scanValue(FILE *fp, char *buffer, int max_length, char first, char *f
|
|||||||
double *lina_loadMatrixFromStream(FILE *fp, int *width, int *height, char **error)
|
double *lina_loadMatrixFromStream(FILE *fp, int *width, int *height, char **error)
|
||||||
{
|
{
|
||||||
assert(width != NULL && height != NULL);
|
assert(width != NULL && height != NULL);
|
||||||
|
|
||||||
if(fp == NULL)
|
if(fp == NULL)
|
||||||
fp = stdin;
|
fp = stdin;
|
||||||
|
|
||||||
Reference in New Issue
Block a user