jeromerobert / hmat-oss

A hierarchical matrix C/C++ library
GNU General Public License v2.0
22 stars 11 forks source link

Segfault in HMatrix<T>::assemble with 1x1 matrices #16

Closed dbarbier closed 3 years ago

dbarbier commented 9 years ago

Currently data.isAdmissibleLeaf() returns true, because diameter is null. And more generally, we must add checks to ensure that bounding boxes are defined (ie clusters have at least 2 points) and diameter is not null (ie points are not coincident).

jeromerobert commented 9 years ago

"points are not coincident" is currently not checked.

dbarbier commented 3 years ago

It should be fixed now