Skip to content

Commit af137bb

Browse files
committed
Fix sqrt in smallest_three
1 parent bd98d84 commit af137bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bitstream/quantization/smallest_three.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ namespace bitstream
134134
float b = data.b * unpacker - half_range * unpacker;
135135
float c = data.c * unpacker - half_range * unpacker;
136136

137-
float d = std::sqrtf(1.0f - ((a * a) + (b * b) + (c * c)));
137+
float d = std::sqrt(1.0f - ((a * a) + (b * b) + (c * c)));
138138

139139
switch (data.m)
140140
{

0 commit comments

Comments
 (0)