Browse files

Testing several statistics for each time lag

Change-Id: I38cc89864952b90960d4551d0cb89c788c3fb9fc
  • Loading branch information...
1 parent 830ede3 commit 43c052ede24c964686e6d78c4a26cd83b015880a Philippe Pébay committed May 25, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 Filters/Statistics/vtkAutoCorrelativeStatistics.cxx
View
12 Filters/Statistics/vtkAutoCorrelativeStatistics.cxx
@@ -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();

0 comments on commit 43c052e

Please sign in to comment.