diff options
Diffstat (limited to 'linear.c')
-rw-r--r-- | linear.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -57,14 +57,12 @@ static void lubksb(double a[][LUARRAYCOLS], static int lusolve(double a[][LUARRAYCOLS], int n, double b[LUARRAYROWS]); -static double results; - /********* ** DoLU ** ********** ** Perform the LU decomposition benchmark. */ -void +double DoLU(void) { const char* context = "FPU:LU"; @@ -184,7 +182,7 @@ DoLU(void) free(bbase); free(LUtempvv); - results = (double)(iterations * CLOCKS_PER_SEC) / (double)total_time; + return (double)(iterations * CLOCKS_PER_SEC) / (double)total_time; } /****************** @@ -542,9 +540,3 @@ printf("\n"); return(1); } - -double -getLinearScore(void) -{ - return results; -} |