Skip to content

Commit

Permalink
fix distributed output
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Sep 9, 2024
1 parent 1b86bea commit f6f7237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/htool/hmatrix/hmatrix_distributed_output.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ std::map<std::string, std::string> get_distributed_hmatrix_information(const HMa
meaninfos[2] = (nb_low_rank_blocks == 0 ? 0 : meaninfos[2] / nb_low_rank_blocks);
meaninfos[3] = meaninfos[3] / sizeWorld;
meaninfos[4] = meaninfos[4] / sizeWorld;
mininfos[0] = (nb_dense_blocks == 0 ? 0 : mininfos[0]);
mininfos[1] = (nb_low_rank_blocks == 0 ? 0 : mininfos[1]);
mininfos[2] = (nb_low_rank_blocks == 0 ? 0 : mininfos[2]);

// Print
if (rankWorld == 0) {
Expand Down

0 comments on commit f6f7237

Please sign in to comment.