From 447067179685df99b151ced52998a4f86cbedc73 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 23 Jul 2020 23:05:22 -0400 Subject: [PATCH] fix: too many braces on clang 3.6 --- include/pybind11/numpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/numpy.h b/include/pybind11/numpy.h index 8c390c531..5b6cea2b4 100644 --- a/include/pybind11/numpy.h +++ b/include/pybind11/numpy.h @@ -550,7 +550,7 @@ public: forcecast = detail::npy_api::NPY_ARRAY_FORCECAST_ }; - array() : array({{0}}, static_cast(nullptr)) {} + array() : array(0, static_cast(nullptr)) {} using ShapeContainer = detail::any_container; using StridesContainer = detail::any_container;