PiecewiseExpand bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg68464] PiecewiseExpand bug?
- From: Mark Fisher <mark at markfisher.net>
- Date: Sun, 6 Aug 2006 02:56:39 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
This produces what I expect:
Product[PDF[BernoulliDistribution[p], x[i]], {i, 3}] /.
{x[1] -> 0, x[2] -> 1, x[3] -> 1}
But this does not:
PiecewiseExpand[Product[PDF[BernoulliDistribution[p], x[i]], {i, 3}]] /.
{x[1] -> 0, x[2] -> 1, x[3] -> 1}
It appears PiecewiseExpand does something it shouldn't here. Any thoughts?
--Mark.