From be195a294c467208bab7ea58c70400ccd5918144 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 30 Mar 2023 17:45:03 +0200 Subject: [PATCH] fix: workaround for template argument deduction for MSVC --- example/kalman_filter/kalman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/kalman_filter/kalman.h b/example/kalman_filter/kalman.h index 6d11c7d3..6bbe7066 100644 --- a/example/kalman_filter/kalman.h +++ b/example/kalman_filter/kalman.h @@ -84,7 +84,7 @@ public: uncertainty_type uncertainty; }; -#if UNITS_COMP_CLANG && UNITS_COMP_CLANG <= 16 +#if UNITS_COMP_MSVC || (UNITS_COMP_CLANG && UNITS_COMP_CLANG <= 16) template estimation(state, U) -> estimation;