Fix bug in definition of UFixedBase::IntegerType (#39)

pull/45/head
Pharap 6 years ago committed by GitHub
parent d0c20218ca
commit 0d064ef75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/FixedPoints/UFixedBase.h

@ -23,7 +23,7 @@ namespace FIXED_POINTS_DETAILS
class UFixedBase
{
public:
using IntegerType = FIXED_POINTS_DETAILS::LeastInt<Integer + 1>;
using IntegerType = FIXED_POINTS_DETAILS::LeastUInt<Integer>;
using FractionType = FIXED_POINTS_DETAILS::LeastUInt<Fraction>;
using InternalType = FIXED_POINTS_DETAILS::LeastUInt<Integer + Fraction>;

Loading…
Cancel
Save