Skip to content

Commit 94a0014

Browse files
consistency
1 parent f881e5b commit 94a0014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spiner/databox.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ class DataBox {
472472
static PORTABLE_INLINE_FUNCTION void
473473
append_index_and_weights(indexweight *iwlist, const Grid_t *grid, const T x,
474474
Args... other_args) {
475-
grid[0].weights(x, iwlist->index, iwlist->weights);
475+
grid->.weights(x, iwlist->index, iwlist->weights);
476476
// Note: grids are in reverse order relative to arguments
477477
append_index_and_weights(iwlist + 1, grid - 1, other_args...);
478478
}

0 commit comments

Comments
 (0)