Skip to content

Commit

Permalink
Fix math_builtin_api build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeySachkov committed Nov 6, 2023
1 parent ed9d1d2 commit 0e69b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/math_builtin_api/math_builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ bool verify(sycl_cts::util::logger& log, sycl::vec<T, N> a,
sycl::vec<T, N> b = r.res;
for (int i = 0; i < sycl_cts::math::numElements(a); i++)
if (r.undefined.find(i) == r.undefined.end() &&
!verify(log, getElement(a, i), getElement(b, i), accuracy, comment))
!verify(log, a[i], b[i], accuracy, comment))
return false;
return true;
}
Expand Down

0 comments on commit 0e69b77

Please sign in to comment.