fp16.c: Fix float_to_half() function call

Correct the function being called.
This commit is contained in:
Chun-wei Fan
2021-09-29 10:42:55 +08:00
parent 9bff56db9f
commit a45e1a01fc

View File

@@ -146,7 +146,7 @@ float_to_half (const float *f, guint16 *h, int n)
if (have_f16c_msvc ())
float_to_half_f16c (f, h, n);
else
float_to_half4_c (f, h, n);
float_to_half_c (f, h, n);
}
void