@@ -191,6 +191,7 @@ for (front_name, backend, signature) in (
191191 if $ (string (backend)) == " direct" && yT == Float64 # warn for Float32 + accidental Float64, but don't print warning for ForwardDiff.Dual
192192 @warn string (" Slow fallback implementation invoked for " , $ (string (front_name)), " ! " ,
193193 " You probably don't want this; check your datatypes." ) yT T1 T2 maxlog= 1
194+ SLOWERROR[] && error (string (" calling slow fallback method for " , $ (string (front_name))))
194195 end
195196
196197 x_cs = Iterators. partition (1 : size (in1, 4 ),
@@ -232,6 +233,7 @@ for (front_name, backend, signature) in (
232233 if $ (string (backend)) == " direct" && yT == Float64 # warn for Float32 + accidental Float64, but don't print warning for ForwardDiff.Dual
233234 @warn string (" Slow fallback implementation invoked for " , $ (string (front_name)), " ! " ,
234235 " You probably don't want this; check your datatypes." ) yT T1 T2 maxlog= 1
236+ SLOWERROR[] && error (string (" calling slow fallback method for " , $ (string (front_name))))
235237 end
236238
237239
@@ -275,6 +277,7 @@ for (front_name, backend, signature) in (
275277 if $ (string (backend)) == " direct" && yT == Float64 # warn for Float32 + accidental Float64, but don't print warning for ForwardDiff.Dual
276278 @warn string (" Slow fallback implementation invoked for " , $ (string (front_name)), " ! " ,
277279 " You probably don't want this; check your datatypes." ) yT T1 T2 maxlog= 1
280+ SLOWERROR[] && error (string (" calling slow fallback method for " , $ (string (front_name))))
278281 end
279282
280283 dw_cs = Iterators. partition (1 : size (out, 5 ),
@@ -326,6 +329,7 @@ for (front_name, backend, signature) in (
326329 if $ (string (backend)) == " direct" && yT == Float64 # warn for Float32 + accidental Float64, but don't print warning for ForwardDiff.Dual
327330 @warn string (" Slow fallback implementation invoked for " , $ (string (front_name)), " ! " ,
328331 " You probably don't want this; check your datatypes." ) yT T1 T2 maxlog= 1
332+ SLOWERROR[] && error (string (" calling slow fallback method for " , $ (string (front_name))))
329333 end
330334 $ (Symbol (" $(front_name) _$(backend) !" ))(out, in1, in2, cdims; kwargs... )
331335 end
0 commit comments