You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dense.jl
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -287,7 +287,13 @@ Defined by [ADTypes.jl](https://github.com/SciML/ADTypes.jl).
287
287
288
288
# Fields
289
289
290
-
- `safe_mode::Bool`: whether to run additional checks to catch errors early. On by default. Turn off to maximise performance if your code runs correctly.
290
+
- `safe_mode::Bool`: whether to run additional checks to catch errors early. While this is
291
+
on by default to ensure that users are aware of this option, you should generally turn
292
+
it off for actual use, as it has substantial performance implications.
293
+
If you encounter a problem with using Tapir (it fails to differentiate a function, or
294
+
something truly nasty like a segfault occurs), then you should try switching `safe_mode`
295
+
on and look at what happens. Often errors are caught earlier and the error messages are
0 commit comments