Skip to content

Commit

Permalink
Fix array out params test
Browse files Browse the repository at this point in the history
  • Loading branch information
ccummingsNV committed Jan 19, 2025
1 parent b48a717 commit 2d6983a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion slangpy/tests/test_torchintegration.slang
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ float[5] polynomial_arrays(float a, float b, float c, float[5] x) {

[Differentiable]
void polynomial_arrays_out(float a, float b, float c, float[5] x, out float[5] res) {
float[5] res;
for (int i = 0; i < 5; i++)
res[i] = a * x[i] * x[i] + b * x[i] + c;
}

0 comments on commit 2d6983a

Please sign in to comment.