C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html

This commit is contained in:
Arash Partow 2013-10-27 02:27:03 +11:00
parent 8bad05fa8c
commit 20cf7c23e0
1 changed files with 8 additions and 8 deletions

View File

@ -589,7 +589,7 @@ namespace exprtk
template <typename T> template <typename T>
inline T root_impl(const T v0, const T v1, real_type_tag) inline T root_impl(const T v0, const T v1, real_type_tag)
{ {
return std::pow(v0,T(1)/v1); return std::pow(v0,T(1) / v1);
} }
template <typename T> template <typename T>