Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3824297

Browse files
authoredMar 3, 2025
Silence some warnings about precision loss
1 parent 30b3ac8 commit 3824297

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎examples/cli/main.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ struct SDParams {
126126
int upscale_repeats = 1;
127127

128128
std::vector<int> skip_layers = {7, 8, 9};
129-
float slg_scale = 0.;
130-
float skip_layer_start = 0.01;
131-
float skip_layer_end = 0.2;
129+
float slg_scale = 0.f;
130+
float skip_layer_start = 0.01f;
131+
float skip_layer_end = 0.2f;
132132
};
133133

134134
void print_params(SDParams params) {

0 commit comments

Comments
 (0)