Skip to content

Commit f14a34f

Browse files
adding include guard
1 parent 041de2b commit f14a34f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lnfact.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
* <http://www.gnu.org/licenses/>.
1616
*/
1717

18+
#ifndef SRC_LNFACT_HPP_
19+
#define SRC_LNFACT_HPP_
20+
1821
#include <array>
1922
#include <cmath>
2023
#include <cstdint>
@@ -202,3 +205,5 @@ lnfact(const std::uint64_t n) -> double {
202205
return lnfact_table[n];
203206
return std::lgamma(n + 1.0);
204207
}
208+
209+
#endif // SRC_LNFACT_HPP_

0 commit comments

Comments
 (0)