From 35c10dc11d7f159c97ab5675c5b68cf2203fee52 Mon Sep 17 00:00:00 2001
From: Chad Hanna <crh184@psu.edu>
Date: Fri, 21 Apr 2017 08:08:59 -0400
Subject: [PATCH] tree.py: fix typo in last commit

---
 gstlal-ugly/python/tree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gstlal-ugly/python/tree.py b/gstlal-ugly/python/tree.py
index 4602beba94..6e633bcbd3 100644
--- a/gstlal-ugly/python/tree.py
+++ b/gstlal-ugly/python/tree.py
@@ -238,7 +238,7 @@ class Node(object):
 			# take the bigger of self, sibling and parent
 			numtmps = max(max(numtmps, par_numtmps), sib_numtmps)
 
-			if not (self.parent.parent and (self.direction == self.parent.direction self.parent.parent.direction == sib_direction):
+			if not (self.parent.parent and (self.direction == self.parent.direction == self.parent.parent.direction == sib_direction)):
 				numtmps += 2
 
 		#if  (self.cube.constraint_func(self.cube.vertices + [self.cube.center]) and (numtmps > split_num_templates or ((numtmps >= split_num_templates/2.0) and not volume_split_condition))):
-- 
GitLab