Skip to content

Commit ee89afc

Browse files
authored
fix: resolve issue with pmid (#957)
1 parent d2d3944 commit ee89afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ sd_image_t* generate_image_internal(sd_ctx_t* sd_ctx,
22002200
}
22012201

22022202
ggml_ext_tensor_iter(init_img, [&](ggml_tensor* init_img, int64_t i0, int64_t i1, int64_t i2, int64_t i3) {
2203-
float value = sd_image_get_f32(processed_id_images[i3], i0, i1, i2);
2203+
float value = sd_image_get_f32(processed_id_images[i3], i0, i1, i2, false);
22042204
ggml_ext_tensor_set_f32(init_img, value, i0, i1, i2, i3);
22052205
});
22062206

0 commit comments

Comments
 (0)