Skip to content

Commit 0111efe

Browse files
stduhpfthxCode
authored andcommitted
remove extra dot
1 parent 3b8bb98 commit 0111efe

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
@@ -518,7 +518,7 @@ __STATIC_INLINE__ void sd_tiling(ggml_tensor* input, ggml_tensor* output, const
518518
input_tile_size = tile_size * scale;
519519
output_tile_size = tile_size;
520520
}
521-
int num_tiles_x = (input_width - (int)(input_tile_size * tile_overlap_factor)) / (int)(input_tile_size * (1. - tile_overlap_factor));
521+
int num_tiles_x = (input_width - (int)(input_tile_size * tile_overlap_factor)) / (int)(input_tile_size * (1 - tile_overlap_factor));
522522
float tile_overlap_factor_x = (float)(input_tile_size * num_tiles_x - input_width) / (float)(input_tile_size * (num_tiles_x - 1));
523523
if (num_tiles_x <= 1) {
524524
if (input_width == input_tile_size) {

0 commit comments

Comments
 (0)