Skip to content

Commit c08f33c

Browse files
committed
Fix x dtype.
1 parent d3611f3 commit c08f33c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/check_elemwise.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ START_TEST(test_basic_scalar_dtype) {
470470
gpuelemwise_arg args[3] = {{0}};
471471
void *rargs[3];
472472

473-
ga_assert_ok(GpuArray_empty(&x, ctx, GA_UINT, 2, dims, GA_C_ORDER));
473+
ga_assert_ok(GpuArray_empty(&x, ctx, GA_INT, 2, dims, GA_C_ORDER));
474474
ga_assert_ok(GpuArray_write(&x, data1, sizeof(data1)));
475475

476476
ga_assert_ok(GpuArray_empty(&y, ctx, GA_FLOAT, 2, dims, GA_F_ORDER));

0 commit comments

Comments
 (0)