You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the Cut Drop Algorithm in MueLu_CoalesceDropFactory_def.hpp using the unit tests in CoalesceDropFactory.cpp, I noticed that some entries with a value of -1 were being kept while other entries that also have a value of -1 were being dropped in the same row. This is caused by a combination of the fact that at least one off diagonal entry must be kept and a corner case when threshold is less than 1 which causes only the first off diagonal entry to be kept. A check for this scenario needs to be added so that entries of the same value are either all kept or all dropped. The unit test should also be modified accordingly.
Issues listed above have been addressed and unit test has been modified to reflect this.
Column ID check in unit tests might need to be fixed.
Signed-off-by: Ian Halim <[email protected]>
Bug Report
@jhux2 @cgcgcg @csiefer2
Description
While testing the Cut Drop Algorithm in MueLu_CoalesceDropFactory_def.hpp using the unit tests in CoalesceDropFactory.cpp, I noticed that some entries with a value of -1 were being kept while other entries that also have a value of -1 were being dropped in the same row. This is caused by a combination of the fact that at least one off diagonal entry must be kept and a corner case when threshold is less than 1 which causes only the first off diagonal entry to be kept. A check for this scenario needs to be added so that entries of the same value are either all kept or all dropped. The unit test should also be modified accordingly.
Trilinos/packages/muelu/test/unit_tests/CoalesceDropFactory.cpp
Lines 1410 to 1440 in bf922e7
Trilinos/packages/muelu/src/Graph/MatrixTransformation/MueLu_CoalesceDropFactory_def.hpp
Lines 577 to 593 in bf922e7
The text was updated successfully, but these errors were encountered: