LLNL / hiop

HPC solver for nonlinear optimization problems
Other
210 stars 42 forks source link

Fix a bug in copying an empty matrix into a bigger matrix #666

Closed nychiang closed 1 year ago

nychiang commented 1 year ago

There is a bug in RAJA implementation which fails HiOp when we copy an empty matrix into a bigger matrix.

This PR tries to:

  1. modify the corresponding unit test to catch this segmentation failure.
  2. Avoid copying an empty matrix in the RAJA implementation

CLOSE #665

@pelesh @cameronrutherford @abhyshr