Skip to content

Commit

Permalink
use correct mode (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuseZ4 committed Apr 14, 2024
1 parent 1625aa8 commit a6db214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/tests/second/mod.rs
Original file line number Diff line number Diff line change
@@ -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]
}
Expand Down

0 comments on commit a6db214

Please sign in to comment.