mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
fix: too many braces on clang 3.6
This commit is contained in:
parent
1f53c373e4
commit
4470671796
@ -550,7 +550,7 @@ public:
|
||||
forcecast = detail::npy_api::NPY_ARRAY_FORCECAST_
|
||||
};
|
||||
|
||||
array() : array({{0}}, static_cast<const double *>(nullptr)) {}
|
||||
array() : array(0, static_cast<const double *>(nullptr)) {}
|
||||
|
||||
using ShapeContainer = detail::any_container<ssize_t>;
|
||||
using StridesContainer = detail::any_container<ssize_t>;
|
||||
|
Loading…
Reference in New Issue
Block a user