[formulas][util] Add missing import and function return type

This commit is contained in:
Adeel Ahmad
2018-05-28 12:28:14 +05:00
parent 0c2b8cdbab
commit 6a2897db25
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
#include <boost/math/constants/constants.hpp>
#include <boost/math/special_functions/hypot.hpp>
#include <boost/geometry/util/math.hpp>
#include <boost/geometry/util/series_expansion.hpp>

View File

@@ -538,7 +538,7 @@ namespace boost { namespace geometry { namespace series_expansion {
s/eps(CT(2))/eps2/g;'
*/
template <typename CT, std::size_t SeriesOrder>
static inline evaluate_coeffs_C1p(CT eps, CT c[])
static inline void evaluate_coeffs_C1p(CT eps, CT c[])
{
CT const eps2 = math::sqr(eps);
CT d = eps;