From 3360fdb2216efd8a7447e0ef5d432727c54a570c Mon Sep 17 00:00:00 2001 From: Owen Green Date: Mon, 14 Jul 2025 18:37:03 +0100 Subject: [PATCH] Fix for windows CI FliudTensor converting ctr test failing in weird way --- include/flucoma/data/FluidTensor.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/flucoma/data/FluidTensor.hpp b/include/flucoma/data/FluidTensor.hpp index 0b437df0..80ad75b8 100644 --- a/include/flucoma/data/FluidTensor.hpp +++ b/include/flucoma/data/FluidTensor.hpp @@ -105,7 +105,11 @@ class FluidTensor //: public FluidTensorBase { static_assert(std::is_convertible::value, "Cannot convert between container value types"); - std::copy(x.begin(), x.end(), mContainer.begin()); + // summer 2025: std::copy failing CI on windows (server 2022, MSVC 19.44) + // seems like it's not recognising conversion and trying a straight memmove or something + // std::copy(x.begin(), x.end(), mContainer.begin()); + // works ok if forced through assignment operator instead !? + *this = x; } template