Skip to content

Commit 39f9879

Browse files
authored
Merge pull request #522 from dendisuhubdy/patch-gpuarray_array_blas
Fixing src/gpuarray_array_blas.c
2 parents beece71 + 91d9177 commit 39f9879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpuarray_array_blas.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ int GpuArray_rgemmBatch_3d(cb_transpose transA, cb_transpose transB, double alph
663663
C_offsets = (size_t*)malloc(batchCount * sizeof(size_t));
664664

665665
if (A_datas == NULL || B_datas == NULL || C_datas == NULL ||
666-
A_offsets == NULL || B_offsets == NULL || C_offsets) {
666+
A_offsets == NULL || B_offsets == NULL || C_offsets == NULL) {
667667
err = error_sys(ctx->err, "malloc");
668668
goto old_cleanup;
669669
}

0 commit comments

Comments
 (0)