summaryrefslogtreecommitdiff
path: root/tests/autodiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/autodiff')
-rw-r--r--tests/autodiff/differential-method-synthesis.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autodiff/differential-method-synthesis.slang b/tests/autodiff/differential-method-synthesis.slang
index 4c96779f9..3220976e7 100644
--- a/tests/autodiff/differential-method-synthesis.slang
+++ b/tests/autodiff/differential-method-synthesis.slang
@@ -31,7 +31,7 @@ A f(A a)
aout.y = 2 * a.b.x;
aout.b.x = 5 * a.b.x;
- return nonDiff(aout);
+ return no_diff(nonDiff(aout));
}
[numthreads(1, 1, 1)]