Skip to content

Commit 0d064ef

Browse files
authored
Fix bug in definition of UFixedBase::IntegerType (#39)
1 parent d0c2021 commit 0d064ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FixedPoints/UFixedBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace FIXED_POINTS_DETAILS
2323
class UFixedBase
2424
{
2525
public:
26-
using IntegerType = FIXED_POINTS_DETAILS::LeastInt<Integer + 1>;
26+
using IntegerType = FIXED_POINTS_DETAILS::LeastUInt<Integer>;
2727
using FractionType = FIXED_POINTS_DETAILS::LeastUInt<Fraction>;
2828
using InternalType = FIXED_POINTS_DETAILS::LeastUInt<Integer + Fraction>;
2929

0 commit comments

Comments
 (0)