Skip to content

Commit 97f7b10

Browse files
ggerganovslaren
andauthored
cont : fix constant type
Co-authored-by: Diego Devesa <[email protected]>
1 parent c1656c1 commit 97f7b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cpu/ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4016,7 +4016,7 @@ static void ggml_compute_forward_rms_norm_f32(
40164016
const float scale = 1.0f/sqrtf(mean + eps);
40174017

40184018
// if you hit this, likely you got an inf somewhere earlier
4019-
assert(scale > 0.0);
4019+
assert(scale > 0.0f);
40204020

40214021
ggml_vec_scale_f32(ne00, y, scale);
40224022
}

0 commit comments

Comments
 (0)