Skip to content

Commit 946228c

Browse files
committed
remove extra dot
1 parent 84961c6 commit 946228c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ggml_extend.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ __STATIC_INLINE__ void sd_tiling(ggml_tensor* input, ggml_tensor* output, const
613613
input_tile_size = tile_size * scale;
614614
output_tile_size = tile_size;
615615
}
616-
int num_tiles_x = (input_width - (int)(input_tile_size * tile_overlap_factor)) / (int)(input_tile_size * (1. - tile_overlap_factor));
616+
int num_tiles_x = (input_width - (int)(input_tile_size * tile_overlap_factor)) / (int)(input_tile_size * (1 - tile_overlap_factor));
617617
float tile_overlap_factor_x = (float)(input_tile_size * num_tiles_x - input_width) / (float)(input_tile_size * (num_tiles_x - 1));
618618
if (num_tiles_x <= 1) {
619619
if (input_width == input_tile_size) {

0 commit comments

Comments
 (0)