From 3b727dea998448d85b91fba9bd03cdbeebe86937 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Sat, 11 Oct 2014 13:46:06 +0200 Subject: [PATCH] Make atan2_lookup inline since it is header-declared --- Util/TrigonometryTables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/TrigonometryTables.h b/Util/TrigonometryTables.h index 64076a23c..d14540482 100644 --- a/Util/TrigonometryTables.h +++ b/Util/TrigonometryTables.h @@ -722,7 +722,7 @@ constexpr unsigned short atan_table[4096] = { // max value is pi/4 constexpr double SCALING_FACTOR = 4. / M_PI * 0xFFFF; -double atan2_lookup(double y, double x) +inline double atan2_lookup(double y, double x) { if (std::abs(x) < std::numeric_limits::epsilon()) {