Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/xtensor/misc/xmanipulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ namespace xt
template <class E, class Tag = check_policy::none>
inline auto squeeze(E&& e, std::size_t axis, Tag check_policy = Tag())
{
return squeeze(std::forward<E>(e), std::array<std::size_t, 1>{axis}, check_policy);
return squeeze(std::forward<E>(e), std::array<std::size_t, 1>{{axis}}, check_policy);
}

/// @endcond
Expand Down
2 changes: 1 addition & 1 deletion include/xtensor/views/xslice.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ namespace xt
}

XTENSOR_GLOBAL_CONSTEXPR xtuph _{};
XTENSOR_GLOBAL_CONSTEXPR rangemaker<> _r = rangemaker<>({0, 0, 0});
XTENSOR_GLOBAL_CONSTEXPR rangemaker<> _r = rangemaker<>({{0, 0, 0}});
XTENSOR_GLOBAL_CONSTEXPR xall_tag _a{};
XTENSOR_GLOBAL_CONSTEXPR xnewaxis_tag _n{};
XTENSOR_GLOBAL_CONSTEXPR xellipsis_tag _e{};
Expand Down