Skip to content

Commit 012ae73

Browse files
authored
Merge pull request #38 from GamesTrap/fix_implicit_warnings
Fixed MSVC implicit conversion warnings
2 parents 7ececcc + 6b620db commit 012ae73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/gcem_incl/atan.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ atan_series_order(const T x, const T x_pow, const uint_t order, const uint_t max
8383
noexcept
8484
{
8585
return( max_order == 1 ? \
86-
GCEM_HALF_PI - T(1)/x :
86+
T(GCEM_HALF_PI) - T(1)/x :
8787
order == 1 ? \
88-
GCEM_HALF_PI - T(1)/x + atan_series_order(x*x,pow(x,3),order+1,max_order) :
88+
T(GCEM_HALF_PI) - T(1)/x + atan_series_order(x*x,pow(x,3),order+1,max_order) :
8989
// NOTE: x changes to x*x for order > 1
9090
order < max_order ? \
9191
atan_series_order_calc(x,x_pow,order) \

0 commit comments

Comments
 (0)