diff options
Diffstat (limited to 'src/opt/fxu/fxuSelect.c')
-rw-r--r-- | src/opt/fxu/fxuSelect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/opt/fxu/fxuSelect.c b/src/opt/fxu/fxuSelect.c index a4e260c7..c9945926 100644 --- a/src/opt/fxu/fxuSelect.c +++ b/src/opt/fxu/fxuSelect.c @@ -57,12 +57,12 @@ void Fxu_MatrixGetDoubleVars( Fxu_Matrix * p, Fxu_Double * pDouble, int Fxu_Select( Fxu_Matrix * p, Fxu_Single ** ppSingle, Fxu_Double ** ppDouble ) { // the top entries - Fxu_Single * pSingles[MAX_SIZE_LOOKAHEAD]; - Fxu_Double * pDoubles[MAX_SIZE_LOOKAHEAD]; + Fxu_Single * pSingles[MAX_SIZE_LOOKAHEAD] = {0}; + Fxu_Double * pDoubles[MAX_SIZE_LOOKAHEAD] = {0}; // the complements - Fxu_Double * pSCompl[MAX_SIZE_LOOKAHEAD]; - Fxu_Single * pDComplS[MAX_SIZE_LOOKAHEAD]; - Fxu_Double * pDComplD[MAX_SIZE_LOOKAHEAD]; + Fxu_Double * pSCompl[MAX_SIZE_LOOKAHEAD] = {0}; + Fxu_Single * pDComplS[MAX_SIZE_LOOKAHEAD] = {0}; + Fxu_Double * pDComplD[MAX_SIZE_LOOKAHEAD] = {0}; Fxu_Pair * pPair; int nSingles; int nDoubles; |