From 6b9439d4144334dafdc6e1fb9e748d14903a3a9e Mon Sep 17 00:00:00 2001 From: Timur Gafarov Date: Wed, 30 Aug 2023 23:29:05 +0300 Subject: [PATCH] Fix deprecation warning for nextPowerOfTen unit test --- dlib/math/utils.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/math/utils.d b/dlib/math/utils.d index 27c11793..b9ed446f 100755 --- a/dlib/math/utils.d +++ b/dlib/math/utils.d @@ -220,7 +220,7 @@ T nextPowerOfTen(T) (T k) nothrow /// unittest { - assert(nextPowerOfTen(80) == 100); + assert(nextPowerOfTen!double(80) == 100); } /**