diff options
Diffstat (limited to '')
| -rw-r--r-- | src/utils/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/math.h b/src/utils/math.h index 95ec0aa..9936558 100644 --- a/src/utils/math.h +++ b/src/utils/math.h | |||
| @@ -137,7 +137,7 @@ intpow(double b, uint64_t e) | |||
| 137 | double r; | 137 | double r; |
| 138 | 138 | ||
| 139 | if (e == 0) | 139 | if (e == 0) |
| 140 | return 1; | 140 | return 1.0; |
| 141 | 141 | ||
| 142 | r = intpow(b, e/2); | 142 | r = intpow(b, e/2); |
| 143 | 143 | ||
