We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
r
common.h
1 parent c53cd75 commit b45015eCopy full SHA for b45015e
source/matplot/util/common.h
@@ -141,7 +141,7 @@ namespace matplot {
141
142
template <size_t N, class T>
143
inline std::array<T, N> to_array(std::initializer_list<T> il) {
144
- std::array<T, N> r;
+ std::array<T, N> r{};
145
auto r_it = r.begin();
146
auto il_it = il.begin();
147
while (r_it != r.end() && il_it != il.end()) {
0 commit comments