From 69cfeb8089d2ac8db01d85198afcb42fa2b62f91 Mon Sep 17 00:00:00 2001 From: Everton Constantino Date: Fri, 24 Feb 2023 10:16:02 -0300 Subject: [PATCH] Fix MSVC compilation error forcing conversion to Scalar on binary_ops_test. --- test/array_cwise.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/array_cwise.cpp b/test/array_cwise.cpp index 6cd6469b4..238d246f5 100644 --- a/test/array_cwise.cpp +++ b/test/array_cwise.cpp @@ -110,7 +110,8 @@ void binary_ops_test() { return x/y; } #endif - return t; + + return Scalar(t); }); } -- GitLab