Skip to content
Snippets Groups Projects
Commit a3d2762c authored by Iryna DE ALBUQUERQUE SILVA's avatar Iryna DE ALBUQUERQUE SILVA
Browse files

Added check for fmt version.

parent 19cd7d0f
No related branches found
No related tags found
2 merge requests!384[Feat] Add the possibility of using or not external inputs_tensor,!372Add check for fmt version in TensorUtils.hpp
Pipeline #68304 passed
......@@ -13,7 +13,12 @@
#define AIDGE_CORE_UTILS_TENSOR_UTILS_H_
#include "aidge/data/Tensor.hpp"
#include <cmath> // std::abs
#include <fmt/base.h>
#if FMT_VERSION < 100000 // If fmt version is less than 10.0.0
#include <fmt/core.h>
#else
#include <fmt/base.h>
#endif
namespace Aidge {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment