Commit 36981e9f authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

TwoPointCorrelations: observe actions implemented

parent 79f2ba55
......@@ -28,6 +28,14 @@ public:
return pred.isTrue("%0", s0, "%1", s1, "%2", s2, "%3", s3);
}
bool operator()(SizeType s0, SizeType s1) const
{
if (!nonTrivial_) return true;
PredicateAwesomeType pred(actionString_, '~');
return pred.isTrue("%0", s0, "%1", s1);
}
bool nonTrivial() const { return nonTrivial_; }
private:
......
......@@ -130,6 +130,7 @@ public:
for (SizeType i=0;i<rows;i++) {
for (SizeType j=i;j<cols;j++) {
if (i>j) continue;
if (!action(i, j)) continue;
pairs.push_back(PairType(i,j));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment