my computei system is windows 11, platform is visual studio 2019.
The project I built with reference to this link https://github.com/broccoli-97/libigl-example-project/tree/main.
And I ran example 717's code but failed. It is an error reported by the Eigen library. After debugging, I found that this line seems to be wrong.
this line:
https://github.com/libigl/libigl/blob/7b6cc272845d583934c6aa4d30cc3c7a31a8f11c/include/igl/copyleft/cgal/point_areas.cpp#L75C35-L75C35
I change MatrixI neighbor_index = I.row(i); to MatrixI neighbor_index = I.row(i).transpose(); The code works.
I don't know if it's a bug or because of my problem with configuring the project.
my computei system is windows 11, platform is visual studio 2019.
The project I built with reference to this link https://github.com/broccoli-97/libigl-example-project/tree/main.
And I ran example 717's code but failed. It is an error reported by the Eigen library. After debugging, I found that this line seems to be wrong.
this line:
https://github.com/libigl/libigl/blob/7b6cc272845d583934c6aa4d30cc3c7a31a8f11c/include/igl/copyleft/cgal/point_areas.cpp#L75C35-L75C35
I change MatrixI neighbor_index = I.row(i); to MatrixI neighbor_index = I.row(i).transpose(); The code works.
I don't know if it's a bug or because of my problem with configuring the project.