Skip to content

Commit

Permalink
Update unimplemented code to return x instead of zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinzii committed Mar 15, 2024
1 parent bc459b2 commit 67e44ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ccmath/detail/exponential/exp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace ccm
template <typename T>
inline constexpr T exp(T x)
{
return 0;
return x;
}

} // namespace ccm

0 comments on commit 67e44ac

Please sign in to comment.