diff --git a/samples/tests/second/mod.rs b/samples/tests/second/mod.rs index d9993b7..d114b5e 100644 --- a/samples/tests/second/mod.rs +++ b/samples/tests/second/mod.rs @@ -1,7 +1,7 @@ samples::test! { forward_of_reverse; // ANCHOR: forward_of_reverse - #[autodiff(df, Reverse, Duplicated, Active)] + #[autodiff(df, ReverseFirst, Duplicated, Active)] fn f(x: &[f32; 2]) -> f32 { x[0] * x[0] + x[1] * x[0] }