Skip to content

Commit b109d13

Browse files
committed
Fixed Code Formatting Issue
Fixed a weird code formatting issue in libs/librtlnumber/src/include/ internal_bits.hpp. GitHub CI said the file failed dev/check-format.sh, however, the same script runs perfectly in my local environment. Double checked the version of clang-format, which seemed to be the same as CI. Directly copied the file from the GitHub repo to resolve this issue.
1 parent 19ff0fb commit b109d13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/librtlnumber/src/include/internal_bits.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ constexpr short integer_t_size = (sizeof(integer_t) * 8);
2727
}
2828

2929
#define unroll_1d(lut) \
30-
{lut[_0], lut[_1], lut[_x], lut[_z]}
30+
{ lut[_0], lut[_1], lut[_x], lut[_z] }
3131
#define unroll_2d(lut) \
32-
{unroll_1d(lut[_0]), unroll_1d(lut[_1]), unroll_1d(lut[_x]), unroll_1d(lut[_z])}
32+
{ unroll_1d(lut[_0]), unroll_1d(lut[_1]), unroll_1d(lut[_x]), unroll_1d(lut[_z]) }
3333

3434
#define unroll_1d_invert(lut) \
35-
{l_not[lut[_0]], l_not[lut[_1]], l_not[lut[_x]], l_not[lut[_z]]}
35+
{ l_not[lut[_0]], l_not[lut[_1]], l_not[lut[_x]], l_not[lut[_z]] }
3636
#define unroll_2d_invert(lut) \
37-
{unroll_1d_invert(lut[_0]), unroll_1d_invert(lut[_1]), unroll_1d_invert(lut[_x]), unroll_1d_invert(lut[_z])}
37+
{ unroll_1d_invert(lut[_0]), unroll_1d_invert(lut[_1]), unroll_1d_invert(lut[_x]), unroll_1d_invert(lut[_z]) }
3838

3939
namespace BitSpace {
4040
typedef uint8_t bit_value_t;

0 commit comments

Comments
 (0)