Skip to content

Commit c6a4561

Browse files
authored
Merge pull request #26 from MarekKnapek/fix_25
Fix #25.
2 parents 61f77cb + 05dbcf0 commit c6a4561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/gcem_incl/exp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ T
5858
exp_split(const T x)
5959
noexcept
6060
{
61-
return( pow_integral(GCEM_E,find_whole(x)) * exp_cf(find_fraction(x)) );
61+
return( static_cast<T>(pow_integral(GCEM_E,find_whole(x))) * exp_cf(find_fraction(x)) );
6262
}
6363

6464
template<typename T>

0 commit comments

Comments
 (0)