Skip to content

Commit bde8342

Browse files
Merge pull request #257 from galenseilis/patch-24
Update CombinedDistribution in distributions.py
2 parents 516aacc + a5992da commit bde8342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ciw/dists/distributions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def __repr__(self):
7979
return "CombinedDistribution"
8080

8181
def sample(self, t=None, ind=None):
82-
s1 = self.d1.sample()
83-
s2 = self.d2.sample()
82+
s1 = self.d1.sample(t, ind)
83+
s2 = self.d2.sample(t, ind)
8484
return self.operator(s1, s2)
8585

8686

0 commit comments

Comments
 (0)