Closed mesonepigreco closed 2 weeks ago
@mesonepigreco sorry for the late reply. This no longer errors on version 0.7, but it's unlikely to have any performance advantages relative to just doing a regular eigen
decomposition (eigen
will just allocate new Array
s).
Dear developers, I found that the following code gives rise to a stack overflow:
Generates the following error:
Am I using Bumper in the wrong way? My understanding is that the memory allocated inside @no_escape should not escape the block. Still, here, the block returns a scalar reduction of the allocated array, so the memory should not escape.
Is there another way to diagonalize a matrix allocated on the Bumper stack?
EDIT: Also, the error occurs in the line that calls
eigen(T)
.