From 346793311c700e0f763cab51f98ce968bf556542 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 27 Feb 2024 17:35:28 -0800 Subject: [PATCH] `ErrorCalculator.h`: Add Includes Adding includes of used stdlib functionality to `ErrorCalculator.h` This is generally recommended practice for stability of include files. I have not done a systematic check yet but there are tools that can help with this and explain more on the need: https://include-what-you-use.org --- include/mgard-x/Utilities/ErrorCalculator.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/mgard-x/Utilities/ErrorCalculator.h b/include/mgard-x/Utilities/ErrorCalculator.h index ac597e107..43da0012d 100644 --- a/include/mgard-x/Utilities/ErrorCalculator.h +++ b/include/mgard-x/Utilities/ErrorCalculator.h @@ -13,6 +13,11 @@ // #include "../../shuffle.hpp" #include "Types.h" +#include +#include +#include + + namespace mgard_x { template T L_inf_norm(size_t n, const T *data) { @@ -117,4 +122,4 @@ T PSNR(size_t n, const T *original_data, const T *decompressed_data) { } // namespace mgard_x -#endif \ No newline at end of file +#endif