cmVectOpstemplateCode.h : Fix possibly uninitialized value in GaussCovariance().
This commit is contained in:
parent
a4e3c2e550
commit
75067f1304
@ -414,7 +414,7 @@ void VECT_OP_FUNC(GaussCovariance)(VECT_OP_TYPE* yM, unsigned D, const VECT_OP_
|
|||||||
|
|
||||||
void VECT_OP_FUNC(GaussCovariance2)(VECT_OP_TYPE* yM, unsigned D, const VECT_OP_TYPE* (*srcFunc)(void* userPtr, unsigned idx), unsigned xN, void* userPtr, const VECT_OP_TYPE* uV, const unsigned* selIdxV, unsigned selKey )
|
void VECT_OP_FUNC(GaussCovariance2)(VECT_OP_TYPE* yM, unsigned D, const VECT_OP_TYPE* (*srcFunc)(void* userPtr, unsigned idx), unsigned xN, void* userPtr, const VECT_OP_TYPE* uV, const unsigned* selIdxV, unsigned selKey )
|
||||||
{
|
{
|
||||||
unsigned i,j,k = 0,n;
|
unsigned i,j,k = 0,n=0;
|
||||||
VECT_OP_TYPE tV[ D ];
|
VECT_OP_TYPE tV[ D ];
|
||||||
const VECT_OP_TYPE* sp;
|
const VECT_OP_TYPE* sp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user