diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-14 23:12:20 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-14 23:12:20 +0000 |
commit | a899b2b196d749283a6b37f2d8c1ec1ba23ca860 (patch) | |
tree | aa3101b2a15865bea7944fc931e86de5d3828075 /linear.c | |
parent | 34edabbf495e0222c59937973ab2bfecc8e32dd6 (diff) |
num_arrays should be static
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@45 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'linear.c')
-rw-r--r-- | linear.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -78,7 +78,7 @@ DoLU(void) LUdblptr ptra; int n; int i; - int num_arrays; + static int num_arrays = 0; static int is_adjusted = FALSE; /* @@ -112,7 +112,6 @@ DoLU(void) if (is_adjusted == FALSE) { is_adjusted = TRUE; - num_arrays=0; for(i=1;i<=MAXLUARRAYS;i++) { abase = realloc(abase, sizeof(double) * LUARRAYCOLS*LUARRAYROWS*(i+1)); |