Skip to content

Commit 4428ead

Browse files
JeromeMartinezmichaelni
authored andcommitted
Replace the optimized version of "ceil" function by the actually defined "ceil" function.
Github: Closes #103
1 parent 18375b0 commit 4428ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffv1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ QuantizationTableSet( i ) { |
12341234
QuantizationTable( i, j, scale ) |
12351235
scale *= 2 * len_count[ i ][ j ] - 1 |
12361236
} |
1237-
context_count[ i ] = ( scale + 1 ) / 2 |
1237+
context_count[ i ] = ceil ( scale / 2 ) |
12381238
} |
12391239
```
12401240

0 commit comments

Comments
 (0)