Skip to content

Commit

Permalink
fix an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Nov 17, 2017
1 parent 1a7c322 commit 930cb52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Stochastic.h
Expand Up @@ -242,7 +242,7 @@ void CStochastic::ComputeVectorMean(int Dim,int NumData,T1* pData,T2* pMean,doub
memset(pMean,0,sizeof(T2)*Dim);
bool IsWeightLoaded;
double Sum;
if(pWeight=NULL)
if(pWeight==NULL)
IsWeightLoaded=false;
else
IsWeightLoaded=true;
Expand Down Expand Up @@ -407,4 +407,4 @@ void CStochastic::GaussianFiltering(T1* pSrcArray,T2* pDstArray,int NumPoints,in
delete pGaussian;
}

#endif
#endif

0 comments on commit 930cb52

Please sign in to comment.