Commit 77ecf4a5 authored by Tres Seaver's avatar Tres Seaver

Clarity.

parent 26aa3b96
......@@ -1244,7 +1244,7 @@ def weightedUnion(set_type, o1, o2, w1=1, w2=1):
def weightedIntersection(set_type, o1, o2, w1=1, w2=1):
if o1 is None:
if o2 is None:
return 0, o2
return 0, None
return w2, o2
if o2 is None:
return w1, o1
......
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