Skip to content

Commit 5a3c068

Browse files
Update Aesara cast policy for recent NumPy/SciPy updates
1 parent 5c1a2ef commit 5a3c068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ def pytest_sessionstart(session):
55
os.environ["AESARA_FLAGS"] = ",".join(
66
[
77
os.environ.setdefault("AESARA_FLAGS", ""),
8-
"floatX=float64,on_opt_error=raise,on_shape_error=raise",
8+
"floatX=float64,on_opt_error=raise,on_shape_error=raise,cast_policy=numpy+floatX",
99
]
1010
)

0 commit comments

Comments
 (0)