We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e74c35 commit 950b326Copy full SHA for 950b326
1 file changed
stable-diffusion.cpp
@@ -1099,7 +1099,7 @@ class StableDiffusionGGML {
1099
deltas[i] = delta;
1100
}
1101
if (apg_params.norm_treshold > 0) {
1102
- diff_norm = std::sqrtf(diff_norm);
+ diff_norm = sqrtf(diff_norm);
1103
apg_scale_factor = std::min(1.0f, apg_params.norm_treshold / diff_norm);
1104
1105
if (apg_params.eta != 1.0f) {
0 commit comments