chore: silence some warnings about precision loss (#620)

This commit is contained in:
vmobilis 2025-03-09 07:22:39 +03:00 committed by GitHub
parent 3fb275a67b
commit 81556f3136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,9 +126,9 @@ struct SDParams {
int upscale_repeats = 1; int upscale_repeats = 1;
std::vector<int> skip_layers = {7, 8, 9}; std::vector<int> skip_layers = {7, 8, 9};
float slg_scale = 0.; float slg_scale = 0.f;
float skip_layer_start = 0.01; float skip_layer_start = 0.01f;
float skip_layer_end = 0.2; float skip_layer_end = 0.2f;
}; };
void print_params(SDParams params) { void print_params(SDParams params) {