Skip to content

Commit 8ab1afd

Browse files
stduhpfStéphane du Hamel
authored andcommitted
remove extra dot
1 parent 5cd13b3 commit 8ab1afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml_extend.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ __STATIC_INLINE__ void sd_tiling(ggml_tensor* input, ggml_tensor* output, const
546546
input_tile_size = tile_size * scale;
547547
output_tile_size = tile_size;
548548
}
549-
int num_tiles_x = (input_width - (int)(input_tile_size * tile_overlap_factor)) / (int)(input_tile_size * (1. - tile_overlap_factor));
549+
int num_tiles_x = (input_width - (int)(input_tile_size * tile_overlap_factor)) / (int)(input_tile_size * (1 - tile_overlap_factor));
550550
float tile_overlap_factor_x = (float)(input_tile_size * num_tiles_x - input_width) / (float)(input_tile_size * (num_tiles_x - 1));
551551
if (num_tiles_x <= 1) {
552552
if (input_width == input_tile_size) {

0 commit comments

Comments
 (0)