From 6916aaac29b1c326cc8969881b2fc0d8e3c711b1 Mon Sep 17 00:00:00 2001 From: Henrique Ferrolho Date: Wed, 22 Jan 2020 11:42:42 +0000 Subject: [PATCH] Fixes minor typo in documentation --- docs/src/user/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/user/advanced.md b/docs/src/user/advanced.md index 8ff07758..6da31054 100644 --- a/docs/src/user/advanced.md +++ b/docs/src/user/advanced.md @@ -137,7 +137,7 @@ before attempting to propagate derivative information, but this check can notice decrease performance (~5%-10% on our benchmarks). In order to preserve performance in the majority of use cases, ForwardDiff disables this -check by default. If your code is affected by this `NaN` behvaior, you can enable +check by default. If your code is affected by this `NaN` behavior, you can enable ForwardDiff's `NaN`-safe mode by setting the `NANSAFE_MODE_ENABLED` constant to `true` in ForwardDiff's source.