We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f14968 commit 2707a61Copy full SHA for 2707a61
pymc3/model.py
@@ -1797,7 +1797,7 @@ def __init__(
1797
1798
# make this RV a view on the combined missing/nonmissing array
1799
theano.gof.Apply(theano.compile.view_op, inputs=[data], outputs=[self])
1800
- self.tag.test_value = theano.compile.view_op(data).tag.test_value
+ self.tag.test_value = theano.compile.view_op(data).tag.test_value.astype(self.dtype)
1801
self.scaling = _get_scaling(total_size, data.shape, data.ndim)
1802
1803
@property
0 commit comments