From 70b3d9c0478f08f03e81453b0c40a3ca8c0599d8 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 20 Feb 2024 11:19:18 +0100 Subject: [PATCH] [ML] Add MATHLIB_EXPORT to full_precision. --- MathLib/FormattingUtils.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MathLib/FormattingUtils.h b/MathLib/FormattingUtils.h index 8c346d64121..aebe550b2e7 100644 --- a/MathLib/FormattingUtils.h +++ b/MathLib/FormattingUtils.h @@ -15,16 +15,18 @@ #include <Eigen/Core> #include <concepts> +#include "mathlib_export.h" + namespace MathLib { struct EigenIOFormat { - static const Eigen::IOFormat full_precision; + static MATHLIB_EXPORT const Eigen::IOFormat full_precision; }; } // namespace MathLib template <typename T> -requires std::derived_from<T, Eigen::DenseBase<T>> + requires std::derived_from<T, Eigen::DenseBase<T>> struct fmt::formatter<T> : fmt::ostream_formatter { auto format(T const& value, fmt::format_context& ctx) const -- GitLab