From 3137be536c3db48facc9976c982cba1624d18d13 Mon Sep 17 00:00:00 2001 From: daniel-saunders-phil Date: Sat, 9 Nov 2024 14:29:06 -0800 Subject: [PATCH] change casting policy to numpy + floatx --- pytensor/configdefaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytensor/configdefaults.py b/pytensor/configdefaults.py index a81fd63905..87e6aa240c 100644 --- a/pytensor/configdefaults.py +++ b/pytensor/configdefaults.py @@ -248,7 +248,7 @@ def add_basic_configvars(): "cast_policy", "Rules for implicit type casting", EnumStr( - "custom", + "numpy+floatX", ["numpy+floatX"], # The 'numpy' policy was originally planned to provide a # smooth transition from numpy. It was meant to behave the