From d2ab0dd839422410e3a17b12ad309b10f9310f96 Mon Sep 17 00:00:00 2001
From: Thomas Harte <thomas.harte@gmail.com>
Date: Tue, 22 Jun 2021 19:33:29 -0400
Subject: [PATCH] Adds a quick way to get the compiler to pick an integral
 type.

---
 Numeric/LFSR.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Numeric/LFSR.hpp b/Numeric/LFSR.hpp
index 3bf8a8881..ccde6a35b 100644
--- a/Numeric/LFSR.hpp
+++ b/Numeric/LFSR.hpp
@@ -12,6 +12,8 @@
 #include <cstdint>
 #include <cstdlib>
 
+#include "Sizes.hpp"
+
 namespace Numeric {
 
 template <typename IntType> struct LSFRPolynomial {};
@@ -76,6 +78,8 @@ template <typename IntType = uint64_t, IntType polynomial = LSFRPolynomial<IntTy
 		IntType value_ = 0;
 };
 
+template <uint64_t polynomial> class LFSRv: public LFSR<MinIntTypeValue<polynomial>, polynomial> {};
+
 }
 
 #endif /* LFSR_h */