Avoid segmentation fault caused by ARPack incrementing the requested number of eigenvalues in nlEigenSolve_ARPACK. This workaround avoids the invalid access by enforcing that at most the requested number of eigenvalues are copied to the NL context.
See this issue where the manifold_harmonics sample program crashes due to a segmentation fault with certain values of nb_eigens on Windows.
Avoid segmentation fault caused by ARPack incrementing the requested number of eigenvalues in nlEigenSolve_ARPACK. This workaround avoids the invalid access by enforcing that at most the requested number of eigenvalues are copied to the NL context.
See this issue where the manifold_harmonics sample program crashes due to a segmentation fault with certain values of nb_eigens on Windows.