Fix json_encode_f32_array

This commit is contained in:
luboslenco
2025-11-06 21:10:37 +01:00
parent 454c10f2e4
commit 21c8e8c882
+1 -1
View File
@@ -376,7 +376,7 @@ void json_encode_f32_array(char *k, f32_array_t *a) {
if (i > 0) {
encoded = string_join(encoded, ",");
}
encoded = string_join(encoded, f32_to_string(a->buffer[i]));
encoded = string_join(encoded, f32_to_string_with_zeros(a->buffer[i]));
}
json_encode_end_array();
}