Fix some names in fluv32 error messages.

This commit is contained in:
Nathan Vegdahl 2020-09-20 03:02:56 +09:00
parent 8dee53d1fc
commit f4ef11f9f3

View File

@ -67,7 +67,7 @@ pub fn encode(xyz: (f32, f32, f32)) -> u32 {
&& !xyz.0.is_nan()
&& !xyz.1.is_nan()
&& !xyz.2.is_nan(),
"trifloat::yuv32::encode(): encoding to yuv32 only \
"trifloat::fluv32::encode(): encoding to fluv32 only \
works correctly for positive, non-NaN numbers, but the numbers passed \
were: ({}, {}, {})",
xyz.0,