From 9662f5a73a6528ae30d53183c649af0fd5b97d4c Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 6 Jun 2023 10:14:23 -0400 Subject: [PATCH] Another try for MSVC --- source/base/qprojector.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/base/qprojector.cc b/source/base/qprojector.cc index 95b525c2ba..1acd7c7f01 100644 --- a/source/base/qprojector.cc +++ b/source/base/qprojector.cc @@ -769,7 +769,8 @@ QProjector<2>::project_to_all_faces(const ReferenceCell & reference_cell, { const auto support_points_line = [](const auto &face, const auto &orientation) -> std::vector> { - const Point<2> * vertices_ptr = face.first.begin(); + // MSVC struggles when using face.first.begin() + const Point<2, double> * vertices_ptr = &face.first[0]; ArrayView> vertices(vertices_ptr, face.first.size()); const auto temp = ReferenceCells::Line.permute_by_combined_orientation(vertices, -- 2.39.5