Show More
@@ -95,10 +95,9 b' def _setupsample(dag, nodes, size):' | |||
|
95 | 95 | return always, set(), desiredlen |
|
96 | 96 | |
|
97 | 97 | def _takequicksample(dag, nodes, size): |
|
98 | always, sample, desiredlen = _setupsample(dag, nodes, size) | |
|
99 | if sample is None: | |
|
100 |
return |
|
|
101 | sample = always | |
|
98 | sample = dag.headsetofconnecteds(nodes) | |
|
99 | if size <= len(sample): | |
|
100 | return _limitsample(sample, size) | |
|
102 | 101 | _updatesample(dag, None, sample, quicksamplesize=size) |
|
103 | 102 | return sample |
|
104 | 103 |
General Comments 0
You need to be logged in to leave comments.
Login now