Skip to content

Commit

Permalink
Testing several statistics for each time lag
Browse files Browse the repository at this point in the history
Change-Id: I38cc89864952b90960d4551d0cb89c788c3fb9fc
  • Loading branch information
Philippe Pébay committed May 28, 2012
1 parent 830ede3 commit 43c052e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Filters/Statistics/vtkAutoCorrelativeStatistics.cxx
Expand Up @@ -308,15 +308,15 @@ void vtkAutoCorrelativeStatistics::Learn( vtkTable* inData,
modelTab->AddColumn( doubleCol );
doubleCol->Delete();

double meanXs = 0.;
double meanXt = 0.;
double mom2Xs = 0.;
double mom2Xt = 0.;
double momXsXt = 0.;

// Loop over parameter table
for ( vtkIdType p = 0; p < nRowPara; ++ p )
{
double meanXs = 0.;
double meanXt = 0.;
double mom2Xs = 0.;
double mom2Xt = 0.;
double momXsXt = 0.;

// Retrieve current time lag
vtkIdType lag = inPara->GetValue( p, 0 ).ToInt();

Expand Down

0 comments on commit 43c052e

Please sign in to comment.