diff options
Diffstat (limited to 'dev/LibC++')
| -rw-r--r-- | dev/LibC++/base_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/LibC++/base_math.h b/dev/LibC++/base_math.h index cf4313f..7c9f34d 100644 --- a/dev/LibC++/base_math.h +++ b/dev/LibC++/base_math.h @@ -57,7 +57,7 @@ template <size_t Base> inline real_type surd(real_type in) { if (in == 0) return 0; if (in == 1) return 1; - + if (Base == 1) return in; if (Base == 2) return sqrt(in); |
