Skip to content

Commit

Permalink
add initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
philbucher authored and ddemidov committed Oct 21, 2022
1 parent 6d4db1a commit f8307ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amgcl/adapter/block_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct block_matrix_adapter {
typedef ptrdiff_t col_type;
typedef BlockType val_type;

std::array<char, sizeof(Base) * BlockSize> buf;
std::array<char, sizeof(Base) * BlockSize> buf {};
Base * base;

bool done;
Expand Down

0 comments on commit f8307ec

Please sign in to comment.