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 8cc6f8f commit 881c65aCopy full SHA for 881c65a
pymc3/tests/test_parallel_sampling.py
@@ -50,13 +50,8 @@ def test_bad_unpickle():
50
assert 'could not be unpickled' in str(exc_info.getrepr(style='short'))
51
52
53
-@theano.as_op(
54
- [
55
- tt.dvector if theano.config.floatX == "float64" else tt.fvector,
56
- tt.iscalar,
57
- ],
58
- [tt.dvector if theano.config.floatX == "float64" else tt.fvector],
59
-)
+tt_vector = tt.TensorType(theano.config.floatX, [False])
+@theano.as_op([tt_vector, tt.iscalar], [tt_vector])
60
def _crash_remote_process(a, master_pid):
61
if os.getpid() != master_pid:
62
os.exit(0)
0 commit comments