Skip to content
Snippets Groups Projects

Add check for fmt version in TensorUtils.hpp

Merged Iryna de Albuquerque Silva requested to merge fix_tensor_utils into dev
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
@@ -13,7 +13,12 @@
@@ -13,7 +13,12 @@
#define AIDGE_CORE_UTILS_TENSOR_UTILS_H_
#define AIDGE_CORE_UTILS_TENSOR_UTILS_H_
#include "aidge/data/Tensor.hpp"
#include "aidge/data/Tensor.hpp"
#include <cmath> // std::abs
#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 {
namespace Aidge {
Loading