| b1f10902 | 23-Dec-2025 |
Richard Tran Mills <rmills@rmills.org> |
Fix long-standing bug in MatMPIAIJDiagonalScaleLocalSetUp()
This commit fixes a problem I discovered in October 2017 and then forgot about after some unsuccessful initial attempts to find the proble
Fix long-standing bug in MatMPIAIJDiagonalScaleLocalSetUp()
This commit fixes a problem I discovered in October 2017 and then forgot about after some unsuccessful initial attempts to find the problem. The MPIAIJ implementation for MatDiagonalScaleLocalSetUp() was broken when the local-to-global mappings in PETSc were refactored to always use block indices; the MPIAIJ implementation of MatDiagonalScaleLocalSetUp(), however, used element-wise, not block indexing, and this was not refactored at the time, as it was overlooked due to having no test case. My commit finally fixes this; it also fixes several memory leaks in the AIJ and BAIJ implementations of MatDiagonalScaleLocal() which were overlooked, again, due to having no test cases.
show more ...
|
| 07868112 | 21-Nov-2025 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix HIP compile warning
src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp:1401:15: error: unused variable 'i' [-Werror,-Wunused-variable] 1401 | PetscInt i; | ^ src/m
Fix HIP compile warning
src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp:1401:15: error: unused variable 'i' [-Werror,-Wunused-variable] 1401 | PetscInt i; | ^ src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cpp:1647:15: error: unused variable 'i' [-Werror,-Wunused-variable] 1647 | PetscInt i; | ^
show more ...
|