Skip to content

Commit a5ef1d0

Browse files
Apply suggestion from @JohannesGaessler
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent 8583552 commit a5ef1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/pad_reflect_1d.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static __global__ void pad_reflect_1d_kernel_f32(
3838
float value;
3939
const int64_t j = i0 - p0;
4040

41-
if ( j<0 ) {// i0<p0
41+
if (j < 0) {// i0<p0
4242
// Left padding - reflect
4343
value = *(const float *)(src0_ptr - j * nb00);
4444
} else if ( j < ne00 ) { //i0 < ne0 - p1

0 commit comments

Comments
 (0)