diff options
| author | inspectredc <inspectredc@gmail.com> | 2024-04-02 16:24:01 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-03 11:31:40 -0600 |
| commit | 8e3f1cf09337f0c373861b4b9dc6c7cb55c0e869 (patch) | |
| tree | c92bb6df8075662fd981a47824ae23ac16c1ad6d | |
| parent | 9b7b9f69e4323e63f2b08dc35a4e1e1c6513da72 (diff) | |
remove cstdlib
| -rw-r--r-- | src/factories/GenericArrayFactory.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/factories/GenericArrayFactory.cpp b/src/factories/GenericArrayFactory.cpp index ad438ca..87affed 100644 --- a/src/factories/GenericArrayFactory.cpp +++ b/src/factories/GenericArrayFactory.cpp @@ -5,8 +5,6 @@ #include "utils/Decompressor.h" #include "utils/TorchUtils.h" -#include <cstdlib> - #define FORMAT_INT(x, w) std::dec << std::setfill(' ') << std::setw(w) << x #define FORMAT_FLOAT(x, w, p) std::dec << std::setfill(' ') << std::fixed << std::setprecision(p) << std::setw(w) << x #define GET_MAG(num) ((uint32_t)((abs(int(num)) > 1) ? std::log10(abs(int(num))) + 1 : 1)) |
