Skip to content

Commit 9e1c8c5

Browse files
Addressed comments from Wenzel
1 parent 78fe75d commit 9e1c8c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/drjit-core/array.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ template <JitBackend Backend_, typename Value_> struct JitArray {
253253
return jit_var_size(m_index);
254254
}
255255

256-
auto opaque_width() {
256+
auto opaque_width_() {
257257
using UInt32 = JitArray<Backend_, uint32_t>;
258258
return UInt32::steal(jit_var_opaque_width(m_index));
259259
}

tests/record.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ TEST_BOTH(11_opaque_width) {
253253
auto func = [](UInt32 x) {
254254
auto y = block_prefix_sum(x+1, x.size());
255255
if (jit_flag(JitFlag::FreezingScope))
256-
y = y / x.opaque_width();
256+
y = y / x.opaque_width_();
257257
else
258258
y = y / x.size();
259259
return y;

0 commit comments

Comments
 (0)